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

Ignore SIGINT to allow returning back to noice when we kill the screensaver

Use 'q' to quit.
master
sin 9 лет назад
Родитель
Сommit
62736bf43a
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      noice.c

+ 2
- 0
noice.c Просмотреть файл

@@ -918,6 +918,8 @@ main(int argc, char *argv[])
ipath = "/";
}

signal(SIGINT, SIG_IGN);

/* Test initial path */
if (canopendir(ipath) == 0)
printerr(1, ipath);


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