From 604a1aaeee3cd3386febf5099936359b3647d56d Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 2 Nov 2007 15:01:26 -0700 Subject: remove workaround for broken "default:". --- scripts/system/vyatta_update_login_user.pl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/system') diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl index fa403224..b246cee6 100755 --- a/scripts/system/vyatta_update_login_user.pl +++ b/scripts/system/vyatta_update_login_user.pl @@ -140,10 +140,6 @@ my %group_map = ( 'admin' => 'quaggavty', 'users' => 'users', ); -# XXX temporary workaround until "default:" works in CLI backend. -if (!defined($group) || $group eq '') { - $group = 'admin'; -} exit 4 if (!defined($user) || !defined($full) || !defined($encrypted) || !defined($group)); exit 4 if (!defined($group_map{$group})); -- cgit v1.2.3