From a0a5fc9b66ea81459dbe6674d218a154b183bdf0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 5 Dec 2020 22:03:53 -0300 Subject: Feat: trashman: try to invoke with sudo if user is not root --- trashman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trashman') diff --git a/trashman b/trashman index 8ffa0b4..32fa6e2 100755 --- a/trashman +++ b/trashman @@ -91,7 +91,7 @@ else # Checking for privileges if [ "$BASENAME" = "trashman" ]; then - trashman_check_root $ACTION + trashman_check_root $ACTION $package else trashman_check_sudo fi -- cgit v1.2.3