diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 22:03:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 22:03:53 -0300 |
commit | a0a5fc9b66ea81459dbe6674d218a154b183bdf0 (patch) | |
tree | 9756021188b3ec988cd60eeb861ea4b0977974b6 /trashman | |
parent | 87bfedf023968d831735b4450932c055ec46e1a3 (diff) | |
download | trashman-a0a5fc9b66ea81459dbe6674d218a154b183bdf0.tar.gz trashman-a0a5fc9b66ea81459dbe6674d218a154b183bdf0.tar.bz2 |
Feat: trashman: try to invoke with sudo if user is not root
Diffstat (limited to 'trashman')
-rwxr-xr-x | trashman | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |