Просмотр исходного кода

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.
tags/v1.12.90
Pierre Ossman 2 лет назад
Родитель
Сommit
adc4570b19
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      unix/vncserver/vncsession.c

+ 1
- 1
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);
}


Загрузка…
Отмена
Сохранить