diff --git a/reboot.c b/reboot.c index 384b2a16..e3549e2b 100644 --- a/reboot.c +++ b/reboot.c @@ -195,6 +195,11 @@ int main(int argc, char *argv[]) break; case CMD_SUSPEND: + /* + * Only initctl supports suspend, we avoid adding + * another signal to finit for compat reasons. + */ + case CMD_UNKNOWN: errx(1, "Invalid command"); break;