]> spindle.queued.net Git - xodist/commit
initchroot: use tee to log to $ROOTDIR.log
authorErik Garrison <erik@laptop.org>
Tue, 18 Nov 2008 05:59:18 +0000 (00:59 -0500)
committerAndres Salomon <dilinger@debian.org>
Tue, 18 Nov 2008 05:59:18 +0000 (00:59 -0500)
commitfd22e025f6ba5e5c23e5729df1857811cc743fcd
treedc7353c05f5542eb5bffaf0a661b24ab87ac2b6b
parent62b5ad99218b3bc0c5852040e12efa8068f06dc7
initchroot: use tee to log to $ROOTDIR.log

Make a named pipe (which we clean up on exit or script death), set our
stdout/stderr to it, and pipe it tee so we can see what's happening and
log at the same time.

Signed-off-by: Andres Salomon <dilinger@debian.org>
functions.sh
initchroot.sh