From: Silvio Rhatto Date: Sat, 7 Apr 2018 13:27:07 +0000 (-0300) Subject: Comparison fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d866a6c1978cc48bef6ebd0918740e5b4f0af24b;p=trashman.git Comparison fix --- diff --git a/trashman b/trashman index 4758a21..c8e8129 100755 --- a/trashman +++ b/trashman @@ -81,7 +81,7 @@ else folder="`trashman_actions_folder $package`" # Checking for privileges - if [ "$BASENAME" == "trashman" ]; then + if [ "$BASENAME" = "trashman" ]; then trashman_check_root $ACTION else trashman_check_sudo