poprawka funkcja

This commit is contained in:
Jakub Adamski 2019-01-10 13:15:57 +01:00
parent 86cd2fe0c0
commit 4315a84f02
1 changed files with 2 additions and 1 deletions

View File

@ -45,9 +45,10 @@ int main (){
if (!strcmp(komenda, "exit\n")) if (!strcmp(komenda, "exit\n"))
break; break;
else else{
cut(argv, komenda); cut(argv, komenda);
execvp(argv[0], argv); execvp(argv[0], argv);
}
} }
return 0; return 0;
} }