]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Export ISATTY. Calling this test from inside of initlog() return true even if output...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 1 Jun 2008 11:28:17 +0000 (11:28 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 1 Jun 2008 11:28:17 +0000 (11:28 +0000)
svn-id: @9785

rc.d/init.d/functions

index 8e45f62e8765b57cfb1fc678210a3dd76138bf7e..e8e1ab1688a1b06d56fa29e8afc1a42a8f251544 100644 (file)
@@ -65,6 +65,7 @@ fi
 # we need to know in functions if we were called from a terminal
 if [ -z "$ISATTY" ]; then
        [ -t ] && ISATTY=yes || ISATTY=no
+       export ISATTY
 fi
 
 is_yes()
This page took 0.193186 seconds and 4 git commands to generate.