Commit 09950bc2 authored by Olof Johansson's avatar Olof Johansson Committed by Michal Marek

merge_config.sh: Display usage if given too few arguments

Two or more arguments are always expected. Show usage and exit if
given less.
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 6341e62b
......@@ -77,6 +77,11 @@ while true; do
esac
done
if [ "$#" -lt 2 ] ; then
usage
exit
fi
INITFILE=$1
shift;
......
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