diff options
author | John Southworth <john.southworth@vyatta.com> | 2013-01-24 10:09:28 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2013-01-24 10:09:28 -0800 |
commit | 4bf3c4427247d8a02740da2e76d94b49734e5d15 (patch) | |
tree | 4e6140a6bea59c4b74e3f6a4e2ab2007edf172f5 | |
parent | 34dcad237becaf7e9643945b2edc3b2496fc7dfc (diff) | |
download | vyatta-cfg-system-4bf3c4427247d8a02740da2e76d94b49734e5d15.tar.gz vyatta-cfg-system-4bf3c4427247d8a02740da2e76d94b49734e5d15.zip |
Bugfix 8597: die when no password is defined
-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 411aed6c..88dcdcdd 100755 --- a/lib/Vyatta/Login/User.pm +++ b/lib/Vyatta/Login/User.pm @@ -134,7 +134,7 @@ sub _update_user { my $home = $cfg->returnValue('home-directory'); unless ($pwd) { - warn "Encrypted password not in configuration for $user"; + die "Encrypted password required for \'$user\'\n"; return; } |