codecrafters-shell-c

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 3ddd50661aa344b3b62212aedc7954ce0b98795f
parent f6803f48c44896696c7de3f300ef7631df2aa4b8
Author: 5hif7y <[email protected]>
Date:   Mon, 30 Dec 2024 21:04:54 -0300

fixing 'exit' command

Diffstat:
Mapp/main.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/app/main.c b/app/main.c @@ -36,9 +36,6 @@ int main() { // Evaluate commands: if(!strcmp(cmd, "exit")){ - printf("Exiting...\n"); - running = false; - } else if(!strcmp(cmd, "exit 0")){ //printf("Exiting...\n"); running = false; } else if(!strcmp(cmd, "echo")){