summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-04-14 16:48:58 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-04-14 19:27:12 +0300
commitbb79266625ef651ab97d59ff7d911f8cf25490d8 (patch)
tree0f7736a0bad13107bb6c4f4cd8d1d6f343a7b93f /meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset
parent2ceeb11b72240ce9533e1d8c42a28dcaef02524b (diff)
downloadopenbmc-bb79266625ef651ab97d59ff7d911f8cf25490d8.tar.xz
meta-facebook: greatlakes: shellcheck fixes
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifcfed957ff406235a657e02179ee5dffe1c565c3
Diffstat (limited to 'meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset')
-rw-r--r--meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset
index 88c27fb2a2..938c914f95 100644
--- a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset
+++ b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/host-powerreset
@@ -39,7 +39,6 @@ host_status=$(host-power-status $SLOT_ID)
if [ "$host_status" == "$STATE_ON" ]
then
host-reboot 1
- exit 0;
else
echo "Host is Off"
exit 1;