* util/grub-mkconfig.in: Ignore non-option arguments, for
compatibility with older versions (before 2010-06-12) which did the same. In particular, this makes it easier to ship an update-grub wrapper which is compatible with that used with GRUB Legacy (Debian bug #586056).
This commit is contained in:
parent
5591324fc6
commit
044e2e60be
2 changed files with 9 additions and 4 deletions
|
@ -86,10 +86,7 @@ do
|
|||
usage
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "Invalid parameter, $option" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
# Explicitly ignore non-option arguments, for compatibility.
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue