1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

kiss: Fix doas issues

This commit is contained in:
Dylan Araps 2020-01-30 12:16:07 +02:00
parent c100d74941
commit b9bc193e39
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -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