summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vdagent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdagent.c b/src/vdagent.c
index 348dfbd..d3ca0c3 100644
--- a/src/vdagent.c
+++ b/src/vdagent.c
@@ -291,7 +291,8 @@ int main(int argc, char *argv[])
LOG_USER);
if (file_test(portdev) != 0) {
- return 0;
+ syslog(LOG_ERR, "Cannot access vdagent virtio channel %s", portdev);
+ return 1;
}
if (do_daemonize)