Skip to content

Commit

Permalink
Suppress error when dbus-send does not exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
kissifrot committed Nov 30, 2010
1 parent d196d29 commit 13a4b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dbus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ USER_BUS_OBJECT="/org/backupmanager/instance/UserInstance/${USERNAME}"
function bm_dbus_init()
{
debug "bm_dbus_init()"
dbus_send=$(which dbus-send) || true
dbus_send=$(which dbus-send 2>/dev/null) || true

if [ -x "${dbus_send}" ]; then
if [ "${UID}" = "0" ]; then
Expand Down

0 comments on commit 13a4b15

Please sign in to comment.