aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-08-02 18:21:20 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-08-02 18:21:20 +0900
commit6c8c1c133c67c46950e8eb41ec771acec5a9ce0d (patch)
tree87d93c119a582c9677aad8a5d708ba059ca7592c
parent8c08f5f678660d27420d548cf8b3100bb24aebd9 (diff)
Executing /bin/bash explicitly
Although 'afm-util' uses PIPESTATUS[] to catch error from dbus-send, it doesn't require executing /bin/bash. Change-Id: I45b8a19b3dcdf789103472e16de64e0d50351548 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rwxr-xr-xscripts/afm-util2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/afm-util b/scripts/afm-util
index 170def6..bbab51b 100755
--- a/scripts/afm-util
+++ b/scripts/afm-util
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
if [ "x" = "x${DBUS_SESSION_BUS_ADDRESS}" ]; then
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$UID/bus"