awesome-client: Properly exit when dbus-send isn't found

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2009-05-09 21:10:24 +02:00 committed by Julien Danjou
parent d3eaaf7b50
commit 9e49865d3f
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ DBUS_SEND=dbus-send
if ! which ${DBUS_SEND} >/dev/null 2>&1 if ! which ${DBUS_SEND} >/dev/null 2>&1
then then
echo "E: Unable to find" ${DBUS_SEND} echo "E: Unable to find" ${DBUS_SEND}
exit 1
fi fi
DBUS_METHOD=org.awesome.Remote.Eval DBUS_METHOD=org.awesome.Remote.Eval