pop
This commit is contained in:
parent
4315a84f02
commit
5b566ee326
@ -42,13 +42,12 @@ int main (){
|
||||
}
|
||||
printf("[%s]$ ", directory);
|
||||
fgets(komenda, max, stdin);
|
||||
cut(argv, komenda);
|
||||
|
||||
if (!strcmp(komenda, "exit\n"))
|
||||
break;
|
||||
else{
|
||||
cut(argv, komenda);
|
||||
else
|
||||
execvp(argv[0], argv);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user