summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Login
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Login')
-rw-r--r--lib/Vyatta/Login/RadiusServer.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Login/RadiusServer.pm b/lib/Vyatta/Login/RadiusServer.pm
index 43f78f90..f8b67830 100644
--- a/lib/Vyatta/Login/RadiusServer.pm
+++ b/lib/Vyatta/Login/RadiusServer.pm
@@ -29,12 +29,12 @@ my $PAM_RAD_END = '# END Vyatta Radius servers';
sub remove_pam_radius {
return system("sudo DEBIAN_FRONTEND=noninteractive"
- . " pam-auth-update --package --remove radius") == 0;
+ . " pam-auth-update --remove radius") == 0;
}
sub add_pam_radius {
return system("sudo DEBIAN_FRONTEND=noninteractive"
- . " pam-auth-update --package --add radius") == 0;
+ . " pam-auth-update radius") == 0;
}
sub update {