aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 5203511..9d9b43f 100755
--- a/kiss
+++ b/kiss
@@ -967,7 +967,7 @@ args() {
# Rerun the script with 'sudo' if the user isn't root.
# Cheeky but 'sudo' can't be used on shell functions themselves.
[ "$(id -u)" = 0 ] || {
- sudo KISS_PATH=$KISS_PATH kiss "$action" "$@"
+ sudo -E kiss "$action" "$@"
return
}
;;