To prevent failure before and consequently container leftover return 0 instead of 1 from the archive_logs function, when the log archive wasn't requested.
Signed-off-by: Ales Musil <[email protected]> --- .ci/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci.sh b/.ci/ci.sh index 5d249d785..90942bab6 100755 --- a/.ci/ci.sh +++ b/.ci/ci.sh @@ -38,7 +38,7 @@ function container_shell() { function archive_logs() { if [ -z "$archive_logs" ]; then - return 1; + return 0; fi log_dir=$CONTAINER_WORKSPACE/logs/ -- 2.40.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
