From 86b114076a9b4dfe6dd92571ae82ddf3bf9c071a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Martin-Leg=C3=A8ne?= <robert@nic.ar>
Date: Thu, 27 Sep 2018 12:55:55 -0300
Subject: [PATCH] Friendly return

---
 bin/start.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/start.sh b/bin/start.sh
index 21f2fc9..52edc58 100755
--- a/bin/start.sh
+++ b/bin/start.sh
@@ -55,8 +55,8 @@ function startbootnode
 {
     local   keyfile=${BFANETWORKDIR}/bootnode/key
     local   pidfile=${BFANETWORKDIR}/bootnode/bootnode.pid
-    which bootnode >/dev/null 2>&1  || return
-    test -r $keyfile                || return
+    which bootnode >/dev/null 2>&1  || return 0
+    test -r $keyfile                || return 0
     (
         flock --nonblock --exclusive 9 || (
             echo "A bootnode is already running."
@@ -104,7 +104,7 @@ function startmonitor
 function startgeth
 {
     # Start the node.
-    which geth >/dev/null 2>&1        || return
+    which geth >/dev/null 2>&1        || return 0
     (
         flock --nonblock --exclusive 9  || (
             echo "A geth is already running."
-- 
GitLab