From 6aa4bac4c436bf39dd813535ef46cc003cea29f7 Mon Sep 17 00:00:00 2001 From: ChuckPa Date: Wed, 29 Mar 2023 04:18:06 -0400 Subject: [PATCH] block if/fi correction --- DBRepair.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DBRepair.sh b/DBRepair.sh index 9cc6987..b65ee88 100755 --- a/DBRepair.sh +++ b/DBRepair.sh @@ -1419,8 +1419,10 @@ do Input="$1" # If end of line then force exit - [ "$Input" = "" ] && Input="exit" - Output "Unexpected EOF / End of command line options, Exiting" + if [ "$Input" = "" ]; then + Input="exit" + Output "Unexpected EOF / End of command line options, Exiting" + fi fi # Watch for null command whether scripted or not.