From 545c9b0cfd82943199fc2122085acac8de988e83 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 12 Jan 2024 19:31:56 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 49164ed7..ffd9c945 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -910,14 +910,14 @@ PDUCONTROL(){ echo if [ "${PORT_SEL}" == "" ]; then sleep 1s - PORTSEL="" + unset PORTSEL PDUCONTROL exit 0 fi ;; *) if [ "${PORT_SEL}" == "" ]; then - PORTSEL="" + unset PORTSEL PDUCONTROL exit 0 fi