From 25c2b7c2c8a333b276c3499bcce004137d4b4fe0 Mon Sep 17 00:00:00 2001 From: Tar Committer Date: Fri, 24 Nov 2000 22:14:14 +0000 Subject: Imported from rancid-2.1b.tar.gz. --- bin/elogin.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/elogin.in') 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. -- cgit