summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/systemtap.examples/process/pfiles.stp7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuite/systemtap.examples/process/pfiles.stp b/testsuite/systemtap.examples/process/pfiles.stp
index e7a16732..ac137887 100755
--- a/testsuite/systemtap.examples/process/pfiles.stp
+++ b/testsuite/systemtap.examples/process/pfiles.stp
@@ -1,6 +1,7 @@
#! /bin/sh
-exec stap -g - ${1+"$@"} << 'END'
+//bin/true && exec stap -g $0 ${1+"$@"}
+
# pfiles
# Copyright (C) 2007-2010 Red Hat, Inc., Eugene Teo <eteo@redhat.com>
#
@@ -609,7 +610,3 @@ probe begin {
exit()
}
-
-
-END
-