]> gitweb.fluxo.info Git - trashman.git/commitdiff
Comparison fix
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 7 Apr 2018 13:27:07 +0000 (10:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 7 Apr 2018 13:27:07 +0000 (10:27 -0300)
trashman

index 4758a212445b8656870af0f94cd40e5c7a003cf7..c8e8129fa94fc983cd78cc137e40907483b85847 100755 (executable)
--- 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