diff --git a/update b/update index 6a87497..2d19ef9 100755 --- a/update +++ b/update @@ -8,7 +8,7 @@ source $__DIR__/lib/include/bash/func; # [1] Send data + fetch configuration 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; touch /target/sync;