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)) {
|
if (feof(stdin)) {
|
||||||
// the stdin was closed, this usually happens for CTRL-D
|
// the stdin was closed, this usually happens for CTRL-D
|
||||||
printf("\n");
|
printf("\n");
|
||||||
exit(EXIT_SUCCESS);
|
break;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
perror("Error: ");
|
perror("Error: ");
|
||||||
|
Loading…
Reference in New Issue
Block a user