diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-04-07 10:36:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-04-07 10:36:16 -0300 |
commit | 1d0028ffe5589710cb46d99893e47dae88461e8b (patch) | |
tree | 64690d2897ba403e1989da398573153ad374b67f | |
parent | 40ea2c9a31815b7b915452354658415bb1edaf4f (diff) | |
download | trashman-1d0028ffe5589710cb46d99893e47dae88461e8b.tar.gz trashman-1d0028ffe5589710cb46d99893e47dae88461e8b.tar.bz2 |
Export SUDO
-rw-r--r-- | share/trashman/trashman/functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |