This commit is contained in:
xdrm-brackets 2017-05-08 22:41:54 +02:00
parent b013b84b8b
commit 7d4974dfe9
1 changed files with 1 additions and 1 deletions

2
update
View File

@ -8,7 +8,7 @@ source $__DIR__/lib/include/bash/func;
# [1] Send data + fetch configuration # [1] Send data + fetch configuration
if [ ! -e /target/sync ]; then if [ ! -e /target/sync ]; then
test "$($SOURCE_DIR/lib/api/init)" = "127" && slog "sync failed" - "update" && exit; test "$($SOURCE_DIR/lib/api/init)" = "127" && slog "init failed" - "update" && exit;
test $? -ne 0 && exit 127; test $? -ne 0 && exit 127;
touch /target/sync; touch /target/sync;