From e4f18be94261b39544ef3bc50321f6aedeb45bd6 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 31 Mar 2024 12:00:59 +0300 Subject: huge refactor, might breaking things --- bin/ak-ipfs-starter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-ipfs-starter') 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 -- cgit v1.2.3