diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-08-02 18:21:20 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2017-08-02 18:21:20 +0900 |
commit | 6c8c1c133c67c46950e8eb41ec771acec5a9ce0d (patch) | |
tree | 87d93c119a582c9677aad8a5d708ba059ca7592c /scripts | |
parent | 8c08f5f678660d27420d548cf8b3100bb24aebd9 (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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/afm-util | 2 |
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" |