mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-15 05:23:20 -04:00
Fix updater.sh
This commit is contained in:
parent
f2e4a79ca0
commit
2ca02b1f04
@ -10,7 +10,7 @@
|
||||
|
||||
# Check if running as root and if any files have the owner/group as root/wheel.
|
||||
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
|
||||
printf 'You shouldn't run this with elevated privileges (such as with doas/sudo).\n'
|
||||
printf 'You shouldn'"'"'t run this with elevated privileges (such as with doas/sudo).\n'
|
||||
exit 1
|
||||
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then
|
||||
printf 'It looks like this script was previously run with elevated privileges,
|
||||
|
Loading…
x
Reference in New Issue
Block a user