Fix typo in useConfig

Fixes: e48bd5b830a16fc5f30deb19a880b9443705259b Add configfile name to
list-instances
This commit is contained in:
Ben Peddell 2016-02-19 09:08:57 +10:00
parent 5e8b53be78
commit 3b2f1e7a30

View File

@ -1646,7 +1646,7 @@ useConfig() {
break
fi
done
if [ -a "$configfile" ]; then
if [ -z "$configfile" ]; then
echo "Error: config file ${configfile} does not exist"
exit 1
fi