Updated 'update'

This commit is contained in:
xdrm-brackets 2017-02-17 19:40:52 +01:00
parent 9d6382d1f2
commit 04edbf7458
1 changed files with 1 additions and 1 deletions

2
update
View File

@ -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;