aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 10:16:07 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 10:16:07 +0000
commit58018e3120c47bf2259bd89c4dcb005c557c3cc1 (patch)
treef6ac01f21fb7380356bef0ccbb3bab50bbdab98b /kiss
parentaf466b2165bdbf9cae1b907430b58ab4a819b7f0 (diff)
downloadcpt-58018e3120c47bf2259bd89c4dcb005c557c3cc1.tar.gz
kiss: Fix doas issues
FossilOrigin-Name: d55729c9693ec0f26fcfdb7c8114be208b4669bb180466d8db77baf791c963a6
Diffstat (limited to 'kiss')
-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