diff options
Diffstat (limited to 'lib/Vyatta/Login/User.pm')
-rwxr-xr-x | lib/Vyatta/Login/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm index 11cf7f23..e0142b3f 100755 --- a/lib/Vyatta/Login/User.pm +++ b/lib/Vyatta/Login/User.pm @@ -112,7 +112,7 @@ sub _delete_user { # This logs out user (so we can delete it) system("sudo pkill -u $user"); - system("sudo userdel -r '$user'") == 0 + system("sudo userdel $user") == 0 or die "userdel of $user failed: $?\n"; } } |