aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoreply@github.com <noreply@github.com>2020-01-19 18:44:31 +0000
committernoreply@github.com <noreply@github.com>2020-01-19 18:44:31 +0000
commit43048622a0d3b8dc1de6f9ef9f76a3289ad29cac (patch)
treef61b67ad71349d45ed21f71575244a7d359a4b9b
parent8a05fbe415958bba526f57b76ae1bff75906a4e3 (diff)
parentd14df1d0c39934e5018ca0fe3475725e160d2db2 (diff)
downloadcpt-43048622a0d3b8dc1de6f9ef9f76a3289ad29cac.tar.gz
Merge pull request #87 from ioraff/master
kiss: fix doas syntax FossilOrigin-Name: 34af4ca6121488ca1e72a6f4e4bc06766762068034000520bfcc7ebe1f5107cf
-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