]> spindle.queued.net Git - xodist/commitdiff
mkchroot: remove pipe if it still exists..
authorAndres Salomon <dilinger@collabora.co.uk>
Wed, 17 Jun 2009 14:16:27 +0000 (10:16 -0400)
committerAndres Salomon <dilinger@collabora.co.uk>
Wed, 17 Jun 2009 14:16:27 +0000 (10:16 -0400)
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
functions.sh

index 8e2b34c07d5efb3ed1861d3e9edc43efbcf8b160..919c7663640720b2991eb9db1410fa209640f420 100644 (file)
@@ -32,6 +32,7 @@ start_logging()
 {
     logpipe="$1".pipe
     trap "rm -f $logpipe" 0
+    rm -f $logpipe
     mknod $logpipe p
     tee "$1".log <$logpipe &
     trap "kill $!; rm -f $logpipe" 0