From 714bf4c863d211023c203172bf91dd0c9015416f Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Mon, 26 Aug 2024 17:20:25 +0300 Subject: [PATCH] add env and +x --- init.config | 4 ++-- update.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 update.sh diff --git a/init.config b/init.config index 45f092a..23d258a 100755 --- a/init.config +++ b/init.config @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e @@ -25,7 +25,7 @@ if [ -n "$mnemonic" ]; then echo "NAME=$nodeName" >> ./worker-data/env_file echo "ENV_LOADED=true" >> ./worker-data/env_file echo "wallet mnemonic already provided by you, loading config.json . Please proceed to run docker compose" - exit 1 + exit 0 fi if [ ! -f ./worker-data/env_file ]; then diff --git a/update.sh b/update.sh old mode 100644 new mode 100755 index abbfee3..3577fc6 --- a/update.sh +++ b/update.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$#" -ne 3 ]; then echo "Usage: $0 "