diff options
Diffstat (limited to 'sdn.cpp')
-rw-r--r-- | sdn.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1654,7 +1654,8 @@ fun save_config () { } int main (int argc, char *argv[]) { - // That bitch zle closes stdin before exec without redirection + // zsh before 5.4 may close stdin before exec without redirection, + // since then it redirects stdin to /dev/null (void) close (STDIN_FILENO); if (open ("/dev/tty", O_RDWR)) { cerr << "cannot open tty" << endl; |