From 2a1623b5c16e1a3ffc20414ea4f76d7f613aa750 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 21 Jan 2024 05:15:07 -0800 Subject: [PATCH] Deal with shellcheck in 1998/df/try.sh --- 1998/df/try.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1998/df/try.sh b/1998/df/try.sh index 284ebd4be..bf0113cca 100755 --- a/1998/df/try.sh +++ b/1998/df/try.sh @@ -15,7 +15,7 @@ make CC="$CC" all >/dev/null || exit 1 # clear screen after compilation so that only the entry is shown clear -while [[ 1 ]]; do +while :; do read -r -n 1 -p "Press any key to run ./df or 'q' to quit: " echo 1>&2 if [[ "$REPLY" = "q" || "$REPLY" = "Q" ]]; then