Merge pull request #53 from ChuckPa/chuckpa/unexpected-eof

block if/fi correction
This commit is contained in:
Chuck 2023-03-29 04:19:23 -04:00 committed by GitHub
commit 5a08d0ac41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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