From: Jérôme Benoit Date: Wed, 10 Sep 2025 22:58:42 +0000 (+0200) Subject: refactor(docker-upgrade.sh): use command in more places X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=266f269ae51fe45a6849c45c10cdac185a464013;p=freqai-strategies.git refactor(docker-upgrade.sh): use command in more places Signed-off-by: Jérôme Benoit --- diff --git a/scripts/docker-upgrade.sh b/scripts/docker-upgrade.sh index 426fdb3..d82b147 100755 --- a/scripts/docker-upgrade.sh +++ b/scripts/docker-upgrade.sh @@ -20,7 +20,7 @@ is_pid_running() { create_lock() { _dir="$1" umask 077 - if mkdir "$_dir" 2>/dev/null; then + if command mkdir "$_dir" 2>/dev/null; then if ! printf '%d\n' "$$" >"$_dir/pid"; then rm -rf "$_dir" 2>/dev/null || true return 1