From d866a6c1978cc48bef6ebd0918740e5b4f0af24b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 7 Apr 2018 10:27:07 -0300 Subject: Comparison fix --- trashman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trashman') 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 -- cgit v1.2.3