aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowenr@fferty.me <owenr@fferty.me>2020-01-19 18:40:57 +0000
committerowenr@fferty.me <owenr@fferty.me>2020-01-19 18:40:57 +0000
commitd14df1d0c39934e5018ca0fe3475725e160d2db2 (patch)
treef61b67ad71349d45ed21f71575244a7d359a4b9b
parent8a05fbe415958bba526f57b76ae1bff75906a4e3 (diff)
downloadcpt-d14df1d0c39934e5018ca0fe3475725e160d2db2.tar.gz
kiss: fix doas syntax
FossilOrigin-Name: 3e1a0daef7cbaab006fa7ab2af6e91696bd4a8a88882af5ee281f1ffbac65fb7
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 602845e..b2fe0b9 100755
--- a/kiss
+++ b/kiss
@@ -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