Commit 21e8d08e authored by Mike Hibler's avatar Mike Hibler

Comma separate group list passed over to ops.

parent 323b8b4b
......@@ -280,9 +280,9 @@ sub ModifyUser()
}
my $user = shift(@ARGV);
my $pgroup = shift(@ARGV);
my $grouplist = "";
my $grouplist = "''";
if (@ARGV > 0) {
$grouplist = "-G " . join(' ', @ARGV);
$grouplist = "-G '" . join(',', @ARGV) . "'";
}
if (mysystem("$USERMOD $user -g $pgroup $grouplist")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment