This is a bash script
Why "vmFound is true" is printed?
How could I modify the script to make it run with correct result?
I cannot find a tutorial with similar example
Thanks for any help
Code:
vmFound=false
if [ $vmFound ]; then
echo "vmFound is true"
else
echo "vmFound is false"
fi
Why "vmFound is true" is printed?
How could I modify the script to make it run with correct result?
I cannot find a tutorial with similar example
Thanks for any help