summaryrefslogtreecommitdiffstats
path: root/initscript
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-20 15:10:51 -0500
committerDave Brolley <brolley@redhat.com>2009-11-20 15:10:51 -0500
commite16e0c563bf44a234396dbcfd2d0b6cfaac91078 (patch)
treec5c8b522a7068bcfbc039520423cf0fc75d42e0e /initscript
parent16b30e45ee60313dd0ae571af7f10740d27a87b6 (diff)
downloadsystemtap-steved-e16e0c563bf44a234396dbcfd2d0b6cfaac91078.tar.gz
systemtap-steved-e16e0c563bf44a234396dbcfd2d0b6cfaac91078.tar.xz
systemtap-steved-e16e0c563bf44a234396dbcfd2d0b6cfaac91078.zip
Ensure that server status files are written by the initscript, not stap-start-server.
Diffstat (limited to 'initscript')
-rw-r--r--initscript/stap-server.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/initscript/stap-server.in b/initscript/stap-server.in
index f602adf9..48808eb4 100644
--- a/initscript/stap-server.in
+++ b/initscript/stap-server.in
@@ -311,7 +311,7 @@ start () { # server-list
# Start the server here.
local server_status=`stat_file $spec`
- runuser -s /bin/bash - $STAP_USER -c "$STAP_START_SERVER -r $release -a $arch --log=$LOG_FILE > $server_status"
+ runuser -s /bin/bash - $STAP_USER -c "$STAP_START_SERVER -r $release -a $arch --log=$LOG_FILE" > $server_status
if [ $? != 0 ]; then
rm -f $server_status
do_failure $"$prog start: unable to start stap-server for $release $arch"