Skip to content
Snippets Groups Projects
Commit 850948fa authored by Jaewon Choi's avatar Jaewon Choi Committed by GitHub
Browse files

Merge pull request #1 from wndus/pr0

Fix bug in main.c
parents dc2a5ef1 a1f8a4b2
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ int main()
fprintf(stderr, "pwd: Invalid arguments\n");
}
} else if (strcmp(argv[0], "exit") == 0) {
goto release_and_continue;
goto release_and_exit;
} else {
fprintf(stderr, "%s: command not found\n", argv[0]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment