From 04edbf74582265989a30bf70f207ccecec4b804b Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 17 Feb 2017 19:40:52 +0100 Subject: [PATCH] Updated 'update' --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index c05b121..0b898f3 100755 --- a/update +++ b/update @@ -6,7 +6,7 @@ source $__DIR__/lib/include/bash/const; source $__DIR__/lib/include/bash/func; # [1] Send data + fetch configuration -test $($SOURCE_DIR/lib/api/sync) -eq 127 && slog "sync failed" - "update" && exit; +test "$($SOURCE_DIR/lib/api/sync)" = "127" && slog "sync failed" - "update" && exit; test $? -ne 0 && exit 127;