Skip to content

Commit f7b3ee2

Browse files
authored
Update upgrade.sh: Use different variable name
1 parent abdf734 commit f7b3ee2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

upgrade.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,13 @@ if [[ ${ACTION} == "upgrade" ]]; then
320320
exit 0
321321
fi
322322

323-
X="$( systemctl is-active allsky )"
323+
ACTIVE="$( systemctl is-active allsky )"
324324
if [[ $? -eq 0 ]]; then
325325
RESTART_ALLSKY="true"
326-
display_msg --log progress "Allsky is ${X}; stopping it."
326+
display_msg --log progress "Allsky is ${ACTIVE}; stopping it."
327327
stop_Allsky
328328
else
329-
display_msg --log progress "Allsky is ${X}; no need to stop it."
329+
display_msg --log progress "Allsky is ${ACTIVE}; no need to stop it."
330330
RESTART_ALLSKY="false"
331331
fi
332332

0 commit comments

Comments
 (0)