diff options
author | Tar Committer <tar@ocjtech.us> | 2000-11-24 22:14:14 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2000-11-24 22:14:14 +0000 |
commit | 25c2b7c2c8a333b276c3499bcce004137d4b4fe0 (patch) | |
tree | baad136bdfcea88812dd658a682f126d1af4dfc3 /bin/clogin.in | |
parent | 1651adc35224e149715bd85af4ba108c5ee184bc (diff) | |
download | rancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.tar.gz rancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.tar.xz rancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.zip |
Imported from rancid-2.1b.tar.gz.rancid-2.1b
Diffstat (limited to 'bin/clogin.in')
-rwxr-xr-x | bin/clogin.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/clogin.in b/bin/clogin.in index bfe3ae1..e239d50 100755 --- a/bin/clogin.in +++ b/bin/clogin.in @@ -248,7 +248,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. |