From 77a6282e2c44979f6427171d97788b4c486160ca Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 31 Dec 2013 03:54:05 +0000 Subject: [PATCH] another last minute bug i introduced. found by jturner --- usr.bin/signify/signify.c | 4 ++-- 1 file 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 * @@ -350,7 +350,7 @@ main(int argc, char **argv) } } argc -= optind; - if (argc != 0) + if (argc != 0 || verb == NULL) usage(); if (inputfile && !sigfile) { -- 2.20.1