&>> doesn't exist.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 14 Feb 2007 19:32:11 +0000 (19:32 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 14 Feb 2007 19:32:11 +0000 (19:32 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2498 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/functions

index aa5f9ce..8c89518 100644 (file)
@@ -718,7 +718,7 @@ function setDefaultTTY
     else
        exec <$ttyname
     fi
-    exec   &>>$ttyname
+    exec    >>$ttyname 2>&1
 }
 
 ## Usage: killContext <XID> [<SIG>]