aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-schedules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-schedules.c')
-rw-r--r--src/rc/rc-schedules.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rc/rc-schedules.c b/src/rc/rc-schedules.c
index f7ef20fb..84c7ea18 100644
--- a/src/rc/rc-schedules.c
+++ b/src/rc/rc-schedules.c
@@ -376,10 +376,7 @@ int run_stop_schedule(const char *applet,
printf("\n");
progressed = false;
}
- if (errno == EINTR)
- eerror("%s: caught an"
- " interrupt", applet);
- else {
+ if (errno != EINTR) {
eerror("%s: nanosleep: %s",
applet, strerror(errno));
return 0;