summaryrefslogtreecommitdiff
path: root/src/pki/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/command.c')
-rw-r--r--src/pki/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/command.c b/src/pki/command.c
index a5e5b8528..984da59b4 100644
--- a/src/pki/command.c
+++ b/src/pki/command.c
@@ -258,6 +258,6 @@ int command_dispatch(int c, char *v[])
return cmds[i].call();
}
}
- return command_usage("invalid operation");
+ return command_usage(c > 1 ? "invalid operation" : NULL);
}