From 4315a84f027115acb59776730f018ee77ac84c7c Mon Sep 17 00:00:00 2001 From: Jakub Adamski Date: Thu, 10 Jan 2019 13:15:57 +0100 Subject: [PATCH] poprawka funkcja --- Microshell/microshell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Microshell/microshell.c b/Microshell/microshell.c index 6b089b7..a520211 100644 --- a/Microshell/microshell.c +++ b/Microshell/microshell.c @@ -45,9 +45,10 @@ int main (){ if (!strcmp(komenda, "exit\n")) break; - else + else{ cut(argv, komenda); execvp(argv[0], argv); + } } return 0; }