mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
fix root access
This commit is contained in:
@@ -200,7 +200,7 @@ if [[ $EUID -ne 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "%s%sAlternative methods:%s\n" "$BOLD" "$YELLOW" "$NC"
|
printf "%s%sAlternative methods:%s\n" "$BOLD" "$YELLOW" "$NC"
|
||||||
printf " %ssudo su -%s # Switch to root\n" "$CYAN" "$NC"
|
printf " %ssudo su %s # Switch to root\n" "$CYAN" "$NC"
|
||||||
if [[ -n "$ORIGINAL_ARGS" ]]; then
|
if [[ -n "$ORIGINAL_ARGS" ]]; then
|
||||||
printf " And run: %s%s %s%s\n" "$CYAN" "$0" "$ORIGINAL_ARGS" "$NC"
|
printf " And run: %s%s %s%s\n" "$CYAN" "$0" "$ORIGINAL_ARGS" "$NC"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user