Get rid of E_INVALID_COMMAND.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 121cee4..665185f 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -43,7 +43,8 @@ COMMANDS
 int call_command_handler(int argc, char * const * const argv)
 {
        COMMANDS
 int call_command_handler(int argc, char * const * const argv)
 {
        COMMANDS
-       return -E_INVALID_COMMAND;
+       DSS_EMERG_LOG("BUG: did not find command handler\n");
+       exit(EXIT_FAILURE);
 }
 #undef COMMAND
 #undef COMMANDS
 }
 #undef COMMAND
 #undef COMMANDS