aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index f145e16..d8996a3 100755
--- a/kiss
+++ b/kiss
@@ -54,7 +54,7 @@ as_root() {
case $su in
*sudo) sudo -u "${user:-root}" -E sh -c "$*" ;;
- *doas) doas -u "${user:-root}" sh -c "$*" ;;
+ *doas) doas -u "${user:-root}" sh -c "KISS_PATH='$KISS_PATH' $*" ;;
*) su -pc "$* <&3" "${user:-root}" 3<&0 </dev/tty ;;
esac