diff options
Diffstat (limited to 'bin/elogin.in')
-rwxr-xr-x | bin/elogin.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/elogin.in b/bin/elogin.in index e75efed..5ef908b 100755 --- a/bin/elogin.in +++ b/bin/elogin.in @@ -234,7 +234,10 @@ proc source_password_file { } { send_user "Error: $password_file must not be world readable/writable\n" exit 1 } - source $password_file + if [ catch {source $password_file} reason ] { + send_user "Error: $reason\n" + exit 1 + } } # Log into the router. |