diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-22 08:15:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-22 08:15:48 +0000 |
commit | 42e1e2c6d8861f2098e2d22b112cd9d49a9caac4 (patch) | |
tree | 06d5fbac833b92881a6524d0ea09e119e937fe05 | |
parent | a78513c1a7210b960ecf8ab449672dcd322a720b (diff) |
ypmatch does signal success even if it doesn't find the key;
from leo@dachau.marco.de; netbsd pr#2315
-rw-r--r-- | usr.bin/ypmatch/ypmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index 8a1917a96e2..534b7a60c2c 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -133,7 +133,7 @@ char **argv; default: fprintf(stderr, "Can't match key %s in map %s. Reason: %s\n", inkey, inmap, yperr_string(r)); - break; + exit(1); } } exit(0); |