Skip to content

Commit 2aeb96c

Browse files
committed
Don't show the startup counter if requested to only run once
Signed-off-by: yubiuser <[email protected]>
1 parent eaf46cc commit 2aeb96c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

padd.sh

+9-6
Original file line numberDiff line numberDiff line change
@@ -1683,12 +1683,15 @@ StartupRoutine(){
16831683
fi
16841684
fi
16851685

1686-
moveXOffset; printf "%s" "- Starting in "
1687-
for i in 3 2 1
1688-
do
1689-
printf "%s..." "$i"
1690-
sleep 1
1691-
done
1686+
if [ "${runOnce}" = "false" ]; then
1687+
moveXOffset; printf "%s" "- Starting in "
1688+
for i in 3 2 1
1689+
do
1690+
printf "%s..." "$i"
1691+
sleep 1
1692+
done
1693+
fi
1694+
16921695
}
16931696

16941697
NormalPADD() {

0 commit comments

Comments
 (0)