chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: monitor the inotify file descriptor not the console one in acquire_terminal()
[elogind.git]
/
src
/
basic
/
terminal-util.c
diff --git
a/src/basic/terminal-util.c
b/src/basic/terminal-util.c
index d29dcd5bec79df79c2d677e2386bb18ed3300105..98600f7a42f731d4a62e172c2b4f8e5cc622854a 100644
(file)
--- a/
src/basic/terminal-util.c
+++ b/
src/basic/terminal-util.c
@@
-457,7
+457,7
@@
int acquire_terminal(
goto fail;
}
- r = fd_wait_for_event(
fd
, POLLIN, ts + timeout - n);
+ r = fd_wait_for_event(
notify
, POLLIN, ts + timeout - n);
if (r < 0)
goto fail;