Fix shfmt bad test

This commit is contained in:
Marco Ferrari 2020-11-06 23:48:31 +01:00
parent 4b92c25a4b
commit 1d6fad5626

View file

@ -8,10 +8,10 @@ ERROR_CODE=$?
# Check the shell # Check the shell
if [ ${ERROR_CODE} -ne 0 ]; then if [ ${ERROR_CODE} -ne 0 ]; then
echo "We did it!" echo "We did it!"
exit 0 exit 0
else else
echo "We done goofed it..." echo "We done goofed it..."
echo "${HELLO_WORLD}" echo "${HELLO_WORLD}"
exit 1 exit 1
fi fi