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

doas: Fix path issue

This commit is contained in:
Dylan Araps 2020-01-30 11:56:06 +02:00
parent 8057cafc62
commit 058ebdc480
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 -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