浏览代码

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);


正在加载...
取消
保存