Skip to content

Commit 1630ab9

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

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
@@ -1690,12 +1690,15 @@ StartupRoutine(){
16901690
fi
16911691
fi
16921692

1693-
moveXOffset; printf "%s" "- Starting in "
1694-
for i in 3 2 1
1695-
do
1696-
printf "%s..." "$i"
1697-
sleep 1
1698-
done
1693+
if [ "${runOnce}" = "false" ]; then
1694+
moveXOffset; printf "%s" "- Starting in "
1695+
for i in 3 2 1
1696+
do
1697+
printf "%s..." "$i"
1698+
sleep 1
1699+
done
1700+
fi
1701+
16991702
}
17001703

17011704
NormalPADD() {

0 commit comments

Comments
 (0)