[lxc-devel] [lxc/lxc] 7943ec: lxc-checkpoint: close stdout/stdin when daemonizin...
GitHub
noreply at github.com
Wed Oct 8 20:19:11 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7943ec56e9c32d5dc2c187730d0a7b784c494d2a
https://github.com/lxc/lxc/commit/7943ec56e9c32d5dc2c187730d0a7b784c494d2a
Author: Tycho Andersen <tycho.andersen at canonical.com>
Date: 2014-10-08 (Wed, 08 Oct 2014)
Changed paths:
M src/lxc/lxc_checkpoint.c
Log Message:
-----------
lxc-checkpoint: close stdout/stdin when daemonizing
If we don't close these running lxc-checkpoint via:
ssh host "sudo lxc-checkpoint ..."
just hangs. We leave stderr open so that subesquent errors will print correctly
(and also because for whatever reason it doesn't break ssh :).
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list