... pointed out by clang

OK?

diff --git usr.bin/bgplg/misc.c usr.bin/bgplg/misc.c
index 38837cc88c8..1834f38fa0d 100644
--- usr.bin/bgplg/misc.c
+++ usr.bin/bgplg/misc.c
@@ -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);
 
        /*

-- 
I'm not entirely sure you are real.

Reply via email to