diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-05-31 11:20:26 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-05-31 11:20:26 -0700 |
commit | ba165c0e0cf3929ab29b45468cf550eda771c37d (patch) | |
tree | 4d33411d9d5e8cba1ef9f2a8867753c9eb22768e | |
parent | 2ab3e1427c62f86ee7e1b0f6c84ac1ecad23af4e (diff) | |
download | vyatta-cfg-quagga-ba165c0e0cf3929ab29b45468cf550eda771c37d.tar.gz vyatta-cfg-quagga-ba165c0e0cf3929ab29b45468cf550eda771c37d.zip |
Fix bug preventing 'vyatta' user login.
-rwxr-xr-x | scripts/system/vyatta_update_login.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index c8d0a23a..c8c064a7 100755 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -121,7 +121,7 @@ for my $user (@user_keys) { $cmd .= " -d \"$home\"" if ( defined $home ); $cmd .= ' -G ' . join( ',', @groups ); system("sudo $cmd $user"); - return if ($? == 0); + next if ($? == 0); my $reason = $reasons{($? >> 8)}; die "Attempt to change user $user failed: $reason\n"; } |