瀏覽代碼

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 = "/";
}

signal(SIGINT, SIG_IGN);

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


Loading…
取消
儲存