mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 12:18:56 +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
Notes:
sideshowbarker
2024-07-19 05:30:10 +09:00
Author: https://github.com/emanuele6
Commit: e42f4abd61
Pull-request: https://github.com/SerenityOS/serenity/pull/2595
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