chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v230: Add utmp support to make wall message to work properly.
[elogind.git]
/
src
/
basic
/
util.c
diff --git
a/src/basic/util.c
b/src/basic/util.c
index 1ef6f5f2bad2ad0aacdccb0acfef5373ed0761d8..12f7e1b0512a900e9335582ae1045beb82e1f6c2 100644
(file)
--- a/
src/basic/util.c
+++ b/
src/basic/util.c
@@
-413,10
+413,10
@@
int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *pa
/* Detach from stdout/stderr. and reopen
* /dev/tty for them. This is important to
/* Detach from stdout/stderr. and reopen
* /dev/tty for them. This is important to
- * ensure that when
system
ctl is started via
+ * ensure that when
login
ctl is started via
* popen() or a similar call that expects to
* read EOF we actually do generate EOF and
* popen() or a similar call that expects to
* read EOF we actually do generate EOF and
- * not delay this indefinitely b
y b
ecause we
+ * not delay this indefinitely because we
* keep an unused copy of stdin around. */
fd = open("/dev/tty", O_WRONLY);
if (fd < 0) {
* keep an unused copy of stdin around. */
fd = open("/dev/tty", O_WRONLY);
if (fd < 0) {