diff options
author | Ross Burton <ross@burtonini.com> | 2007-09-11 10:49:49 +0100 |
---|---|---|
committer | Ross Burton <ross@burtonini.com> | 2007-09-11 10:49:49 +0100 |
commit | 4b2cf9d75f6c315071adc925ec56e3bac3423730 (patch) | |
tree | bec70b1edca40722667d225e9baad8437d7a6f6e /tools | |
parent | 3f6e2c0c76d3643a1823b5ea7c8f5486a6b448de (diff) |
Fix bashism
"function" is a bashism, so don't use it.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run-with-tmp-session-bus.sh | 2 |
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 |