Skip to content
Snippets Groups Projects
Commit f50347b4 authored by cxb23's avatar cxb23
Browse files

fixed print satements for error code

parent 98d41d74
Branches
No related tags found
No related merge requests found
No preview for this file type
......@@ -200,6 +200,7 @@ int exec_local_cmd_loop()
if (strcmp(cmd_buff, "rc") == 0) {
printf("%d\n", rc);
//if ((rc = clear_cmd_buff(cmd)) != OK_EXIT) exit(rc);
rc = 0;
continue;
}
......
......@@ -80,6 +80,6 @@ int exec_cmd(cmd_buff_t *cmd);
#define CMD_OK_HEADER "PARSED COMMAND LINE - TOTAL COMMANDS %d\n"
#define CMD_WARN_NO_CMD "warning: no commands provided\n"
#define CMD_ERR_PIPE_LIMIT "error: piping limited to %d commands\n"
#define CMD_ERR_EXECUTE "Command not found in PATH\n"
#define CMD_ERR_EXECUTE "Command not found in PATH"
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment