From: tedu Date: Tue, 31 Dec 2013 03:54:05 +0000 (+0000) Subject: another last minute bug i introduced. found by jturner X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=77a6282e2c44979f6427171d97788b4c486160ca;p=openbsd another last minute bug i introduced. found by jturner --- 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) {