From 09709a39f74de7e8ed48bd119d63874250c7859a Mon Sep 17 00:00:00 2001 From: Didier Date: Wed, 23 Aug 2023 06:47:44 +0200 Subject: [PATCH] fix: stuff --- sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.sh b/sync.sh index 4b8f01a..89ed355 100644 --- a/sync.sh +++ b/sync.sh @@ -7,7 +7,7 @@ osreleaseprop() { elevated() { s=${SUDO:-sudo} if [ ! "$s" = "none" ]; then - if ! which $s &> /dev/null; then + if ! command -v $s &> /dev/null; then echo "command \"$s\" not found" exit 1 fi