diff options
author | Christian Hesse <mail@eworm.de> | 2014-03-15 17:46:01 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-03-15 17:46:01 +0100 |
commit | 3a36c30f59fc2f634dabf9d419b6b1b51fd00899 (patch) | |
tree | feb618c5fdc83b7a16a3c485ef2bed404aa7b859 /udev/ykfde.c | |
parent | 565ff71af87b24c5746017ee51858fd8649beef9 (diff) | |
download | mkinitcpio-ykfde-3a36c30f59fc2f634dabf9d419b6b1b51fd00899.tar.gz mkinitcpio-ykfde-3a36c30f59fc2f634dabf9d419b6b1b51fd00899.tar.zst |
add hint about debugging
Diffstat (limited to 'udev/ykfde.c')
-rw-r--r-- | udev/ykfde.c | 3 |
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; |