X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=blobdiff_plain;f=functions.sh;h=7318230553a68a1ec7ce3ecbf8bb429ac8a8424f;hp=919c7663640720b2991eb9db1410fa209640f420;hb=4147cb5472e422ccff6c96040c303c4cc6e8a120;hpb=39f33f4cec95da8a4714b851a6c11de883427c0d diff --git a/functions.sh b/functions.sh index 919c766..7318230 100644 --- a/functions.sh +++ b/functions.sh @@ -27,14 +27,3 @@ check_for_cmds() return 0 } - -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 - exec >$logpipe 2>&1 -}