summaryrefslogtreecommitdiff
path: root/src/core/libs
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-04-07 22:28:59 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-04-07 22:28:59 +0200
commit17984a5dc1bf7ceea218489590f85c1181d91548 (patch)
tree1643c84130b3c4d36e8010efb878fd017b71c29f /src/core/libs
parent3ea556956d10dc98f65a27436493af5e3ef35e26 (diff)
fix for FS#13835 - following the output of a process is broken - FUCK YEAH
Diffstat (limited to 'src/core/libs')
-rw-r--r--src/core/libs/lib-ui.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index 32f9184..fcc1663 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -455,7 +455,9 @@ _dia_follow_progress ()
{
title=$1
logfile=$2
- FOLLOW_PID=`_dia_dialog --title "$1" --no-kill --tailboxbg "$2" 0 0 2>&1 >/dev/null`
+ _dia_dialog --title "$1" --no-kill --tailboxbg "$2" 0 0 2>$RUNTIME_DIR/aif-follow-pid
+ FOLLOW_PID=`cat $RUNTIME_DIR/aif-follow-pid`
+ rm $RUNTIME_DIR/aif-follow-pid
}