Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.

This commit is contained in:
nicm
2016-10-14 22:14:22 +00:00
parent d413a945ac
commit ed971268be
31 changed files with 45 additions and 44 deletions

View File

@ -133,7 +133,8 @@ cmd_string_parse(const char *s, struct cmd_list **cmdlist, const char *file,
if (argc == 0)
goto out;
*cmdlist = cmd_list_parse(argc, argv, file, line, cause);
*cmdlist = cmd_list_parse(argc, argv, file, line,
cause);
if (*cmdlist == NULL)
goto out;