aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-08-02 18:21:20 +0900
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-08 09:42:45 +0200
commitc0b2c34c3a493ed4ed84586b9bb4a7842a9dc816 (patch)
treef36b3fbe769ba2ddc521e71cf9f4eb4807f1c38c
parentf08784c6e79208558f0caa6e770952879041aca2 (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"