From: Pierre Ossman Date: Fri, 11 Mar 2022 07:31:25 +0000 (+0100) Subject: Change vncsession startup error message X-Git-Tag: v1.12.90~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=adc4570b191bc3576cae9f1074b37a3d31252e69;p=tigervnc.git 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. --- 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); }