summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff')
-rw-r--r--meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff b/meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff
index bd439542f8..3b4d9d9aec 100644
--- a/meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff
+++ b/meta-facebook/recipes-phosphor/fans/phosphor-fan/greatlakes/host-poweroff
@@ -19,7 +19,7 @@ power-off-all-hosts()
echo "chosen host id :::$host_id"
# host power off
- output=$(busctl set-property $DBUS_SERVICE$host_id $DBUS_OBJECT$host_id $DBUS_INTERFACE $DBUS_PROPERTY s $PROPERTY_VALUE)
+ output=$(busctl set-property $DBUS_SERVICE"$host_id" $DBUS_OBJECT"$host_id" $DBUS_INTERFACE $DBUS_PROPERTY s $PROPERTY_VALUE)
echo "$output"
done