For those interested, it's a bash thing, with -e bash will abort on an exhausted shift, without -e it will just leave an empty $1.
-- [patch] update-grub is broken https://launchpad.net/bugs/73966 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
