Skip to content

Commit 337227b

Browse files
✨ feat: Improve portability of CasaOS healthcheck script (#15)
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`.
1 parent ba560a2 commit 337227b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

casaos-healthcheck/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Constants
44
CONFIG_FILE="/etc/casaos/gateway.ini"

0 commit comments

Comments
 (0)