summaryrefslogtreecommitdiff
path: root/selftest/in_screen
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/in_screen')
-rwxr-xr-xselftest/in_screen1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/in_screen b/selftest/in_screen
index 927d83109b..8bfbc0101b 100755
--- a/selftest/in_screen
+++ b/selftest/in_screen
@@ -39,6 +39,7 @@ printenv |
sed "s/\(^[^=]*=\)\(.*\)/export \1'\2'/g" > $basedir/$SERVERNAME.vars
cat <<EOF > $basedir/$SERVERNAME.launch
+cd $PWD
echo \$\$ > $basedir/$SERVERNAME.pid
. $basedir/$SERVERNAME.vars
echo "\$(date) starting $SERVERNAME" >> $basedir/$SERVERNAME.log