commit - 8b60b240b1d6adf264bc5d0fd5ae0fce756d0086
commit + e45c294c2605016fcafbc76e8f911ae3dd126e7b
blob - d78689fb84f34bff3df940c48dc3345304d01098
blob + 579801c1a62932c7ba58ad585ac0ba45e1ddbf06
--- tog/tog.c
+++ tog/tog.c
free(cmd_argv);
}
- if (error && error->code != GOT_ERR_CANCELLED)
+ if (error && error->code != GOT_ERR_CANCELLED &&
+ error->code != GOT_ERR_EOF &&
+ error->code != GOT_ERR_PRIVSEP_EXIT &&
+ error->code != GOT_ERR_PRIVSEP_PIPE &&
+ !(error->code == GOT_ERR_ERRNO && errno == EINTR))
fprintf(stderr, "%s: %s\n", getprogname(), error->msg);
return 0;
}