Fix libguestfs-make-fixed-appliance --help option so it displays usage.

Previously it printed 'Internal error!'
This commit is contained in:
Richard W.M. Jones
2012-04-09 15:53:19 +01:00
parent 12a56dfc8a
commit 669c0bd407

View File

@@ -50,11 +50,13 @@ while true; do
--xz)
xz_mode=1
shift;;
--help)
usage 0;;
--)
shift
break;;
*)
echo "Internal error!"
echo "internal error ($1)"
exit 1;;
esac
done