Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinaAcct committed Jun 3, 2024
1 parent 4a70283 commit 5e2f9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new/AAP-New.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ log_err() {
log_warn() {
echo -e "${YELLOW}[WARN] $(date "+%H:%M:%S"): $1${RESET}"
}
if [[ $(id -u) -nq 0 ]]; then
if [[ $(id -u) -ne 0 ]]; then
log_err "Run this script with root!"
fi
print_help() {
Expand Down

0 comments on commit 5e2f9c4

Please sign in to comment.