changed the error msg of an unknownd command

This commit is contained in:
Sagi Dayan 2014-03-30 21:14:12 +03:00
parent af33b469e3
commit c44f7bf82d

2
main.c
View file

@ -140,7 +140,7 @@ int main()
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;
}
}