From adc4570b191bc3576cae9f1074b37a3d31252e69 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 11 Mar 2022 08:31:25 +0100 Subject: [PATCH] Change vncsession startup error message We need to get to the point of starting the session script before we consider things a success. So this can fail in many different ways, not just the daemonization. Adjust the error message to something more generic to reflect this. --- unix/vncserver/vncsession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver/vncsession.c b/unix/vncserver/vncsession.c index f6d2fd59..49d68435 100644 --- a/unix/vncserver/vncsession.c +++ b/unix/vncserver/vncsession.c @@ -81,7 +81,7 @@ begin_daemon(void) /* Wait for child to finish startup */ len = read(fds[0], buf, 1); if (len != 1) { - fprintf(stderr, "Failure daemonizing\n"); + fprintf(stderr, "Failed to start session\n"); _exit(EX_OSERR); } -- 2.39.5