diff options
Diffstat (limited to 'usr.bin/bgplg/misc.c')
-rw-r--r-- | usr.bin/bgplg/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/bgplg/misc.c b/usr.bin/bgplg/misc.c index 38837cc88c8..aecefaf2fa5 100644 --- a/usr.bin/bgplg/misc.c +++ b/usr.bin/bgplg/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.6 2013/11/25 18:02:50 deraadt Exp $ */ +/* $OpenBSD: misc.c,v 1.7 2017/07/27 20:01:05 florian Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org> @@ -51,7 +51,7 @@ lg_checkperm(struct cmd *cmd) struct stat stbuf; /* No external command to execute, this is always valid */ - if (cmd->earg == NULL || cmd->earg[0] == NULL) + if (cmd->earg[0] == NULL) return (1); /* |