Fix missing param

This commit is contained in:
Jamie Cameron
2021-05-16 15:53:32 -07:00
parent d649f06594
commit 405e03c4d8

View File

@ -19,7 +19,7 @@ if ($config{'sync_create'} && &has_command($config{'keygen_path'}) &&
else {
$cmd = "$config{'keygen_path'} $type -P \"\"";
}
&system_logged("echo '' | ".&command_as_user($uinfo->{'user'}, $cmd).
&system_logged("echo '' | ".&command_as_user($uinfo->{'user'}, 0, $cmd).
" >/dev/null 2>&1");
if ($config{'sync_auth'}) {
my $akeys = "$uinfo->{'home'}/.ssh/authorized_keys";