diff options
Diffstat (limited to 'bin/jlogin.in')
-rwxr-xr-x | bin/jlogin.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/jlogin.in b/bin/jlogin.in index 0718321..28e773b 100755 --- a/bin/jlogin.in +++ b/bin/jlogin.in @@ -221,7 +221,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. |