summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ypmatch/ypmatch.c2
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);