aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-starter
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-31 12:00:59 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-03-31 12:00:59 +0300
commite4f18be94261b39544ef3bc50321f6aedeb45bd6 (patch)
tree2c79daf0bdc91beb91846f00bb3d3f51236967cf /bin/ak-ipfs-starter
parent23a61661f03c03a357ad8aa47ba3595fabe24de1 (diff)
downloadarching-kaos-tools-e4f18be94261b39544ef3bc50321f6aedeb45bd6.tar.gz
arching-kaos-tools-e4f18be94261b39544ef3bc50321f6aedeb45bd6.tar.bz2
arching-kaos-tools-e4f18be94261b39544ef3bc50321f6aedeb45bd6.zip
huge refactor, might breaking things
Diffstat (limited to 'bin/ak-ipfs-starter')
-rwxr-xr-xbin/ak-ipfs-starter4
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