mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
cf647b69ba
If "systemctl -H" is used, let's make sure we first terminate the bus connection, and only then close the pager. If done in this order ssh will get an EOF on stdin (as we speak D-Bus through ssh's stdin/stdout), and then terminate. This makes sure the standard error we were invoked on is released by ssh, and only that makes sure we don't deadlock on the pager which waits for all clients closing its input pipe. (Similar fixes for the various other xyzctl tools that support both pagers and -H) Fixes: #3543 |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
org.freedesktop.timedate1.conf | ||
org.freedesktop.timedate1.policy.in | ||
org.freedesktop.timedate1.service | ||
timedatectl.c | ||
timedated.c |