changed the error msg of an unknownd command
This commit is contained in:
parent
af33b469e3
commit
c44f7bf82d
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -140,7 +140,7 @@ int main()
|
||||||
|
|
||||||
if(execv(path, args) != 0)
|
if(execv(path, args) != 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s%s%s\n", "myTerminal: ", args[0] ,": command not found");
|
fprintf(stderr, "%s%s%s\n", "cshell: ", args[0] ,": command not found");
|
||||||
exit(1); //child error - chield needs to be closed manually. exit code 225;
|
exit(1); //child error - chield needs to be closed manually. exit code 225;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue