lxc-fedora: Show usage when no name is passed

Reported-by: Anatoly Techtonik Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent a8aa709c
......@@ -456,6 +456,11 @@ do
esac
done
if [ -z "$name" ]; then
usage $(basename $0)
exit 1
fi
if [ ! -z "$clean" -a -z "$path" ]; then
clean || exit 1
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment