From 748f7da6fe0ac10e4d9f446585e6c1f53838fda3 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 22 Apr 1996 08:15:47 +0000 Subject: [PATCH] ypmatch does signal success even if it doesn't find the key; from leo@dachau.marco.de; netbsd pr#2315 --- usr.bin/ypmatch/ypmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1