diff options
-rw-r--r-- | vlogger.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vlogger.c b/vlogger.c index 32a8ddb..4fd407a 100644 --- a/vlogger.c +++ b/vlogger.c @@ -97,8 +97,11 @@ main(int argc, char *argv[]) exit(1); } - if (access("/etc/vlogger", X_OK) != -1) + if (access("/etc/vlogger", X_OK) != -1) { execl("/etc/vlogger", argv0, tag, (char *)0); + fprintf(stderr, "vlogger: exec: %s\n", strerror(errno)); + exit(1); + } openlog(tag, 0, facility); |