mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
Meta: tweak build-image-grub.sh to allow running make grub-image
..
without sudo.
This commit is contained in:
parent
3f5c80e490
commit
e42f4abd61
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ die() {
|
|||
}
|
||||
|
||||
if [ "$(id -u)" != 0 ]; then
|
||||
die "this script needs to run as root"
|
||||
exec sudo -E -- "$0" "$@" || die "this script needs to run as root"
|
||||
fi
|
||||
|
||||
grub=$(command -v grub-install 2>/dev/null) || true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue