Batch file export format on BSD needs to have the same format as expected for import https://github.com/webmin/webmin/issues/1230

This commit is contained in:
Jamie Cameron
2020-04-11 11:21:52 -07:00
parent 07e3a262e1
commit 2f7e434f12

View File

@ -64,6 +64,8 @@ foreach $u (@ulist) {
$u->{'real'}, $u->{'home'}, $u->{'shell'} );
if ($pft == 1 || $pft == 6) {
push(@line, $u->{'class'});
push(@line, $u->{'change'});
push(@line, $u->{'expire'});
}
elsif ($pft == 2) {
push(@line, $u->{'min'}, $u->{'max'}, $u->{'warn'},