next #1

Merged
strix merged 8 commits from next into main 2023-09-01 03:34:46 +02:00
Showing only changes of commit 09709a39f7 - Show all commits

View file

@ -7,7 +7,7 @@ osreleaseprop() {
elevated() { elevated() {
s=${SUDO:-sudo} s=${SUDO:-sudo}
if [ ! "$s" = "none" ]; then if [ ! "$s" = "none" ]; then
if ! which $s &> /dev/null; then if ! command -v $s &> /dev/null; then
echo "command \"$s\" not found" echo "command \"$s\" not found"
exit 1 exit 1
fi fi