Add back in Command not found message
This commit is contained in:
parent
295ec5f08a
commit
e809b4e3da
@ -878,6 +878,10 @@ _done:
|
||||
uint32_t f = fork();
|
||||
if (getpid() != pid) {
|
||||
int i = execvp(cmd, argv);
|
||||
if (i != 0) {
|
||||
fprintf(stderr, "%s: Command not found\n", argv[0]);
|
||||
i = 127; /* Should be set to this anyway... */
|
||||
}
|
||||
return i;
|
||||
} else {
|
||||
int ret_code = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user