forked from kiss-community/kiss
Merge branch 'master' of github.com:kissx/kiss
This commit is contained in:
commit
2a02844f17
2
kiss
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user