don't exit on success, let cleanup happen
This commit is contained in:
parent
cf847bf5eb
commit
e717917e95
@ -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: ");
|
||||
|
Loading…
Reference in New Issue
Block a user