diff options
Diffstat (limited to 'bin/ak-ipfs-starter')
-rwxr-xr-x | bin/ak-ipfs-starter | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-ipfs-starter b/bin/ak-ipfs-starter index 3685736..ae483f8 100755 --- a/bin/ak-ipfs-starter +++ b/bin/ak-ipfs-starter @@ -1,10 +1,10 @@ #!/bin/bash PROGRAM="$(basename $0)" -source $AK_LIBDIR/_ak_logit +source $AK_LIBDIR/_ak_log screen -dmS akipfsd ak-ipfs-daemon -if [ "$?" != "0" ] +if [ $? -ne 0 ] then logit "ERROR" "Failed to start IPFS daemon" exit 1 |