diff options
-rw-r--r-- | src/rc/rc-misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 250b3695..8afff0a2 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -228,6 +228,7 @@ svc_lock(const char *applet) if (fd == -1) return -1; if (flock(fd, LOCK_EX | LOCK_NB) == -1) { + eerror("Call to flock failed: %s", strerror(errno)); close(fd); return -1; } |