Skip to content

Commit

Permalink
Do not consider failure to sync fatal
Browse files Browse the repository at this point in the history
We still log the error but we assume it is okay to fail.

See: https://progress.opensuse.org/issues/112871
  • Loading branch information
Liv Dywan authored and Liv Dywan committed Dec 21, 2023
1 parent 6576417 commit b026de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set +e
[ -e "$subfolder/print_openqa.sh" ] || { >&2 echo "No file found: {$subfolder/print_openqa.sh}"; exit 1; }

# nowhere to log yet as we haven't created $logfolder
bash -e "$subfolder/read_files.sh" || { >&2 echo "read_files.sh failed for $subfolder in enviroment $environ"; exit 1; }
bash -e "$subfolder/read_files.sh" || { >&2 echo "read_files.sh failed for $subfolder in enviroment $environ"; exit 0; }

if [ -e $subfolder/.run_last ] && [ -z "$(diff --brief $subfolder $subfolder/.run_last | grep '.lst')" ]; then
>&2 echo "No changes found since last run, skipping {$subfolder}"
Expand Down

0 comments on commit b026de8

Please sign in to comment.