mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-03 07:48:14 +02:00
name-test: remove unused die function
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846
This commit is contained in:
parent
4f4801346e
commit
56e1448bed
2 changed files with 0 additions and 22 deletions
|
|
@ -1,14 +1,4 @@
|
|||
#! /bin/sh
|
||||
die()
|
||||
{
|
||||
if ! test -z "$DBUS_SESSION_BUS_PID" ; then
|
||||
echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
|
||||
kill -9 $DBUS_SESSION_BUS_PID
|
||||
fi
|
||||
echo $SCRIPTNAME: $* >&2
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
SCRIPTNAME=$0
|
||||
MODE=$1
|
||||
|
|
|
|||
|
|
@ -1,17 +1,5 @@
|
|||
#! /bin/sh
|
||||
|
||||
die()
|
||||
{
|
||||
if ! test -z "$DBUS_SESSION_BUS_PID" ; then
|
||||
echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
|
||||
kill -9 $DBUS_SESSION_BUS_PID
|
||||
fi
|
||||
echo $SCRIPTNAME: $* >&2
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
SCRIPTNAME=$0
|
||||
MODE=$1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue