artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3614a
)
ypmatch does signal success even if it doesn't find the key;
author
deraadt
<deraadt@openbsd.org>
Mon, 22 Apr 1996 08:15:47 +0000
(08:15 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 22 Apr 1996 08:15:47 +0000
(08:15 +0000)
from leo@dachau.marco.de; netbsd pr#2315
usr.bin/ypmatch/ypmatch.c
patch
|
blob
|
history
diff --git
a/usr.bin/ypmatch/ypmatch.c
b/usr.bin/ypmatch/ypmatch.c
index
8a1917a
..
534b7a6
100644
(file)
--- 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);