X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=0aed77ed9a7cd0624ecd61715068fd8f84a34956;hp=3964cbd33ecbcdb849b30b7c5e87380d7aec359b;hb=a694752a7a33c8f35c55d8fcfb6b5635811e8cd5;hpb=1584694068d5f4a9ae8aa842721e4ad322135183 diff --git a/grml-live b/grml-live index 3964cbd..0aed77e 100755 --- a/grml-live +++ b/grml-live @@ -337,6 +337,11 @@ while getopts "a:C:c:d:D:e:g:i:I:o:r:s:t:U:v:AbBFhnNqQuVz" opt; do esac done shift $(($OPTIND - 1)) # set ARGV to the first not parsed commandline parameter + +if [ -n "$1" ] ; then + echo "Error: unknown argument '$1' in options. Exiting to avoid possible data loss." >&2 + bailout 1 +fi # }}} # read local (non-packaged) configuration {{{