]> spindle.queued.net Git - xodist/blobdiff - functions.sh
mkchroot: remove pipe if it still exists..
[xodist] / 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