From 8b45bbabaeb774afce23b3538e18d892d133f8a8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:57 -0400 Subject: [PATCH] Fix bad grep --- templates/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/install.sh b/templates/install.sh index 14dfdbd..1d5efd0 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -29,7 +29,7 @@ if [[ ${#active_ttys} -gt 1 ]]; then else echo "Found more than one TTY!" echo -n "Waiting for other TTYs to time out... " - sleep $(( 16 + $( grep -o '[0-9]+' <<<"${this_tty}" ) )) + sleep $(( 16 + $( grep -E -o '[0-9]+' <<<"${this_tty}" ) )) echo "done." fi else