don't exit on success, let cleanup happen

This commit is contained in:
Chris Cromer 2021-06-19 20:28:53 -04:00
parent cf847bf5eb
commit e717917e95
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ void loop() {
if (feof(stdin)) {
// the stdin was closed, this usually happens for CTRL-D
printf("\n");
exit(EXIT_SUCCESS);
break;
}
else {
perror("Error: ");