瀏覽代碼

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

Use 'q' to quit.
master
sin 9 年之前
父節點
當前提交
62736bf43a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      noice.c

+ 2
- 0
noice.c 查看文件

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


signal(SIGINT, SIG_IGN);

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


Loading…
取消
儲存