Skip to content

Commit

Permalink
Update APP-MANAGER: changed the message to prevent "sudo"
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Apr 24, 2024
1 parent 21f7fbf commit 77656cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SCRIPTDIR="$(if command -v xdg-user-dir &>/dev/null; then xdg-user-dir DESKTOP;
# Prevent the use of "sudo"
function _no_sudo() {
if [ -n "$SUDO_COMMAND" ]; then
printf "\n WARNING: You don't need to use SUDO for this, retry.\n\n";
printf '\n Please do not use "sudo" to execute "'"$CLI"'", try again.\n\n';
exit 1;
fi
}
Expand Down

0 comments on commit 77656cb

Please sign in to comment.