Fixing illegal redirect to named pipe with equivalent that works.
authorBen Armstrong <synrg@debian.org>
Sat, 5 Jan 2013 18:50:30 +0000 (14:50 -0400)
committerBen Armstrong <synrg@debian.org>
Sat, 5 Jan 2013 18:50:52 +0000 (14:50 -0400)
scripts/config.sh

index e7adf55..629d737 100755 (executable)
@@ -224,7 +224,7 @@ Main ()
        mkdir -p /var/log/live
        mkfifo /var/log/live/config.pipe
        tee < /var/log/live/config.pipe /var/log/live/config.log &
-       exec &> /var/log/live/config.pipe
+       exec 2>&1 > /var/log/live/config.pipe
 
        # Configuring system
        _SCRIPTS="$(echo ${_SCRIPTS} | sed -e 's| |\n|g' | sort -u)"