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