aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index dfd977c..68b48ef 100755
--- a/kiss
+++ b/kiss
@@ -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