Add back in Command not found message

This commit is contained in:
Kevin Lange 2013-05-08 01:05:38 -07:00
parent 295ec5f08a
commit e809b4e3da

View File

@ -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;