version 1.48, 2016/10/16 19:04:05 |
version 1.49, 2017/01/15 22:00:56 |
|
|
free(shellcmd); |
free(shellcmd); |
if (cmd == NULL) |
if (cmd == NULL) |
return (CMD_RETURN_NORMAL); |
return (CMD_RETURN_NORMAL); |
if (cmd_string_parse(cmd, &cmdlist, NULL, 0, &cause) != 0) { |
cmdlist = cmd_string_parse(cmd, NULL, 0, &cause); |
|
if (cmdlist == NULL) { |
if (cause != NULL) { |
if (cause != NULL) { |
cmdq_error(item, "%s", cause); |
cmdq_error(item, "%s", cause); |
free(cause); |
free(cause); |
|
|
if (cmd == NULL) |
if (cmd == NULL) |
goto out; |
goto out; |
|
|
if (cmd_string_parse(cmd, &cmdlist, file, line, &cause) != 0) { |
cmdlist = cmd_string_parse(cmd, file, line, &cause); |
|
if (cmdlist == NULL) { |
if (cause != NULL) |
if (cause != NULL) |
new_item = cmdq_get_callback(cmd_if_shell_error, cause); |
new_item = cmdq_get_callback(cmd_if_shell_error, cause); |
else |
else |