Merge branch 'master' of github.com:kissx/kiss

This commit is contained in:
Dylan Araps 2020-01-21 02:19:22 +02:00
commit 2a02844f17
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -1008,7 +1008,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