Skip to content

Commit 1a46d70

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

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
@@ -1665,12 +1665,15 @@ StartupRoutine(){
16651665
fi
16661666
fi
16671667

1668-
moveXOffset; printf "%s" "- Starting in "
1669-
for i in 3 2 1
1670-
do
1671-
printf "%s..." "$i"
1672-
sleep 1
1673-
done
1668+
if [ "${runOnce}" = "false" ]; then
1669+
moveXOffset; printf "%s" "- Starting in "
1670+
for i in 3 2 1
1671+
do
1672+
printf "%s..." "$i"
1673+
sleep 1
1674+
done
1675+
fi
1676+
16741677
}
16751678

16761679
NormalPADD() {

0 commit comments

Comments
 (0)