diff --git a/main.c b/main.c index d5e4a9c..75740b2 100644 --- a/main.c +++ b/main.c @@ -141,7 +141,7 @@ int main() if(execv(path, args) != 0) { 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 255; } } else //pid > 0 father