Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -77,6 +77,11 @@ while true; do
	esac
done

if [ "$#" -lt 2 ] ; then
	usage
	exit
fi

INITFILE=$1
shift;