summaryrefslogtreecommitdiff
path: root/script/build/clean/seabios
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-28 15:28:19 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-28 15:28:19 +0100
commitc6fd4d2ad33a6407a442eb20f31e34cf7aabd352 (patch)
tree8aa8d469d5bac1426f4952248eae54d0a402bd95 /script/build/clean/seabios
parent6722624dfcf0de8d9c237b207e23a72139be4759 (diff)
lbmk: run ./build dependencies *before* root check
After that, do not allow anything to run if the user is root. This logic flow is more robust, and reduces the chance of bugs in the future. We must not permit the user to run lbmk as root. Running it as root *is* possible, by just removing the check, and wily enough users will do that, but this behaviour in lbmk is good practise because it prevents accidentally running as root. If the user went into root just for installing dependencies, they might accidentally forget to switch back. This is a safeguard against such folly. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/clean/seabios')
0 files changed, 0 insertions, 0 deletions