diff options
author | 1999-11-14 21:45:07 +0000 | |
---|---|---|
committer | 1999-11-14 21:45:07 +0000 | |
commit | d5b4ed2c44e5cfe8932690ca536fefa41f523298 (patch) | |
tree | 6412b5125c7dfd8131957fe0797d727e9cc63c17 /usr.bin/ssh/ssh.c | |
parent | Clean up memchr slightly to better match coming memrchr (diff) | |
download | wireguard-openbsd-d5b4ed2c44e5cfe8932690ca536fefa41f523298.tar.xz wireguard-openbsd-d5b4ed2c44e5cfe8932690ca536fefa41f523298.zip |
print _all_ bad config-options in ssh(1), too
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 14cc02f7279..6725ae0010b 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada. */ #include "includes.h" -RCSID("$Id: ssh.c,v 1.28 1999/11/11 23:36:53 markus Exp $"); +RCSID("$Id: ssh.c,v 1.29 1999/11/14 21:45:07 markus Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -383,8 +383,9 @@ main(int ac, char **av) case 'o': dummy = 1; - process_config_line(&options, host ? host : "", optarg, - "command-line", 0, &dummy); + if (process_config_line(&options, host ? host : "", optarg, + "command-line", 0, &dummy) != 0) + exit(1); break; default: |