mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Pass $ARCHIVE_HOST_NAME to archive-is-reachale.sh
This commit is contained in:
@@ -27,7 +27,7 @@ function fix_errors_in_mounted_files () {
|
|||||||
function archive_is_reachable () {
|
function archive_is_reachable () {
|
||||||
local reachable=true
|
local reachable=true
|
||||||
|
|
||||||
/root/bin/archive-is-reachable.sh || reachable=false
|
/root/bin/archive-is-reachable.sh "$ARCHIVE_HOST_NAME" || reachable=false
|
||||||
|
|
||||||
if [ "$reachable" = false ]
|
if [ "$reachable" = false ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user