summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2007-09-11 10:49:49 +0100
committerRoss Burton <ross@burtonini.com>2007-09-11 10:49:49 +0100
commit4b2cf9d75f6c315071adc925ec56e3bac3423730 (patch)
treebec70b1edca40722667d225e9baad8437d7a6f6e
parent3f6e2c0c76d3643a1823b5ea7c8f5486a6b448de (diff)
Fix bashism
"function" is a bashism, so don't use it.
-rwxr-xr-xtools/run-with-tmp-session-bus.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run-with-tmp-session-bus.sh b/tools/run-with-tmp-session-bus.sh
index 1bf1c23..cc48c44 100755
--- a/tools/run-with-tmp-session-bus.sh
+++ b/tools/run-with-tmp-session-bus.sh
@@ -4,7 +4,7 @@ SCRIPTNAME=$0
WRAPPED_SCRIPT=$1
shift
-function die()
+die()
{
if ! test -z "$DBUS_SESSION_BUS_PID" ; then
echo "killing message bus "$DBUS_SESSION_BUS_PID >&2