block if/fi correction

This commit is contained in:
ChuckPa
2023-03-29 04:18:06 -04:00
parent 6043ac44c6
commit 6aa4bac4c4

View File

@@ -1419,9 +1419,11 @@ do
Input="$1" Input="$1"
# If end of line then force exit # If end of line then force exit
[ "$Input" = "" ] && Input="exit" if [ "$Input" = "" ]; then
Input="exit"
Output "Unexpected EOF / End of command line options, Exiting" Output "Unexpected EOF / End of command line options, Exiting"
fi fi
fi
# Watch for null command whether scripted or not. # Watch for null command whether scripted or not.
if [ "$1" != "" ]; then if [ "$1" != "" ]; then