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

kiss: fix doas syntax

This commit is contained in:
Owen Rafferty 2020-01-19 12:40:58 -06:00
parent 2bb1bbcc0a
commit 0a3095a0c3
No known key found for this signature in database
GPG Key ID: 23A84C0A3681D40D

2
kiss
View File

@ -1007,7 +1007,7 @@ args() {
if command -v sudo >/dev/null; then
sudo -E KISS_FORCE="$KISS_FORCE" kiss "$action" "$@"
elif command -v doas >/dev/null; then
doas KISS_FORCE="$KISS_FORCE" kiss "$action" "$@"
KISS_FORCE="$KISS_FORCE" doas kiss "$action" "$@"
else
su -pc "KISS_FORCE=$KISS_FORCE kiss $action $*"
fi