From 337227be4a561e5836436f4b9d428d4d7c1c87b4 Mon Sep 17 00:00:00 2001 From: Christopher <1289128+dragonfire1119@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:27:54 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Improve=20portability=20of?= =?UTF-8?q?=20CasaOS=20healthcheck=20script=20(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the hardcoded shebang `#!/bin/bash` with `#!/usr/bin/env bash` to ensure the script can be executed on systems where the Bash binary is not located at the default path `/bin/bash`. --- casaos-healthcheck/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casaos-healthcheck/run.sh b/casaos-healthcheck/run.sh index 23e0d00..672f474 100644 --- a/casaos-healthcheck/run.sh +++ b/casaos-healthcheck/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Constants CONFIG_FILE="/etc/casaos/gateway.ini"