From 2d17da4a75cc54f625ac2c174d1ff8d9f7cd9ad1 Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:38:11 +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