Updated 'update'
This commit is contained in:
parent
9d6382d1f2
commit
04edbf7458
2
update
2
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue