aboutsummaryrefslogtreecommitdiffstats
path: root/udev/ykfde.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/ykfde.c')
-rw-r--r--udev/ykfde.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/ykfde.c b/udev/ykfde.c
index 2077583..b89f613 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -119,6 +119,9 @@ int main(int argc, char **argv) {
int fd_inotify, watch, length, i = 0;
char buffer[EVENT_BUF_LEN];
+ /* reopening stderr to /dev/console may help debugging... */
+ /* freopen("/dev/console", "w", stderr); */
+
/* check if challenge file exists */
if (access(CHALLENGEFILE, R_OK) == -1)
goto out10;