From 9b75bedc8d75da3efa9f50afdff7f01fd0f1eb42 Mon Sep 17 00:00:00 2001 From: qo-op Date: Mon, 4 May 2020 03:07:47 +0200 Subject: [PATCH] error --- zen/tools/make_G1SSB_secret.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/tools/make_G1SSB_secret.sh b/zen/tools/make_G1SSB_secret.sh index 951a5ea..e38098b 100755 --- a/zen/tools/make_G1SSB_secret.sh +++ b/zen/tools/make_G1SSB_secret.sh @@ -36,7 +36,7 @@ HIT ENTER TO CONTINUE ' read letsgo -[[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] || echo "ipfs daemon not running. EXIT" && exit 1 +[[ ! $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] && echo "ipfs daemon not running. EXIT" && exit 1 # git & astroport code in ~/.zen