diff options
author | tegge <tegge@FreeBSD.org> | 1997-06-25 21:02:12 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1997-06-25 21:02:12 +0000 |
commit | 588fb5df8a7838ceca40cf18d3a57293d62e5f4c (patch) | |
tree | 4bb1a30ff8d45b8be97260f98a10389150f2b81a /usr.bin/ypmatch | |
parent | cf91630f75ebc45189e17de5b12f27a96a7605f3 (diff) | |
download | FreeBSD-src-588fb5df8a7838ceca40cf18d3a57293d62e5f4c.zip FreeBSD-src-588fb5df8a7838ceca40cf18d3a57293d62e5f4c.tar.gz |
Treat no match as a failure. This is the normal behaviour on SunOS.
Diffstat (limited to 'usr.bin/ypmatch')
-rw-r--r-- | usr.bin/ypmatch/ypmatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index 3fe57d6..ded9624 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -127,6 +127,7 @@ char **argv; default: fprintf(stderr, "Can't match key %s in map %s. Reason: %s\n", inkey, inmap, yperr_string(r)); + exit(1); break; } } |