aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/trashman/trashman/functions2
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
}