diff options
Diffstat (limited to 'bin/flogin.in')
-rwxr-xr-x | bin/flogin.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/flogin.in b/bin/flogin.in index 0419bb6..a43ddda 100755 --- a/bin/flogin.in +++ b/bin/flogin.in @@ -242,7 +242,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. |