forked from kiss-community/kiss
commit
935be97f7d
2
kiss
2
kiss
@ -1007,7 +1007,7 @@ args() {
|
|||||||
if command -v sudo >/dev/null; then
|
if command -v sudo >/dev/null; then
|
||||||
sudo -E KISS_FORCE="$KISS_FORCE" kiss "$action" "$@"
|
sudo -E KISS_FORCE="$KISS_FORCE" kiss "$action" "$@"
|
||||||
elif command -v doas >/dev/null; then
|
elif command -v doas >/dev/null; then
|
||||||
doas KISS_FORCE="$KISS_FORCE" kiss "$action" "$@"
|
KISS_FORCE="$KISS_FORCE" doas kiss "$action" "$@"
|
||||||
else
|
else
|
||||||
su -pc "KISS_FORCE=$KISS_FORCE kiss $action $*"
|
su -pc "KISS_FORCE=$KISS_FORCE kiss $action $*"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user