From: Silvio Rhatto Date: Sat, 7 Apr 2018 13:36:16 +0000 (-0300) Subject: Export SUDO X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1d0028ffe5589710cb46d99893e47dae88461e8b;p=trashman.git Export SUDO --- diff --git a/share/trashman/trashman/functions b/share/trashman/trashman/functions index a870736..78d527b 100644 --- a/share/trashman/trashman/functions +++ b/share/trashman/trashman/functions @@ -221,6 +221,6 @@ trashman_check_root() { # Check for sudo trashman_check_sudo () { if [ "`whoami`" != "root" ]; then - SUDO="sudo" + export SUDO="sudo" fi }