run: Fix logging 76/head
authorDan Mick <dan.mick@redhat.com>
Tue, 28 Jun 2016 23:36:20 +0000 (16:36 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 28 Jun 2016 23:38:44 +0000 (16:38 -0700)
commit4aef7491442ed6593b6e8e2840e7ab1ecb9b9a61
tree111c78bf5fb8b05720470f218b2bb6d526f87f7c
parent91cb164df5e1bdfe68c8447d6bc2194a8dcffcef
run: Fix logging

When run is executed from /etc/init.d/autobuild-ceph -> loop.sh,
its stdout/stderr are not redirected, so still go to the invoking
user's terminal, which will become unwritable after logout.
Send the logging from run itself to logs/*.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
run