summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-12-31 03:54:05 +0000
committertedu <tedu@openbsd.org>2013-12-31 03:54:05 +0000
commit77a6282e2c44979f6427171d97788b4c486160ca (patch)
tree8ae347bde27a1476e0a2cf9055613c13a7dd399e
parentExperimental feature to let apropos(1) show different keys than .Nd. (diff)
downloadwireguard-openbsd-77a6282e2c44979f6427171d97788b4c486160ca.tar.xz
wireguard-openbsd-77a6282e2c44979f6427171d97788b4c486160ca.zip
another last minute bug i introduced. found by jturner
-rw-r--r--usr.bin/signify/signify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/signify/signify.c b/usr.bin/signify/signify.c
index 7ed3bfddfda..3f077395589 100644
--- a/usr.bin/signify/signify.c
+++ b/usr.bin/signify/signify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signify.c,v 1.3 2013/12/31 03:23:41 tedu Exp $ */
+/* $OpenBSD: signify.c,v 1.4 2013/12/31 03:54:05 tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
@@ -350,7 +350,7 @@ main(int argc, char **argv)
}
}
argc -= optind;
- if (argc != 0)
+ if (argc != 0 || verb == NULL)
usage();
if (inputfile && !sigfile) {