Skip to content

Commit 3864305

Browse files
Vladimir Kotalahornace
authored andcommitted
do not display message for success
1 parent d1f5c34 commit 3864305

File tree

1 file changed

+1
-1
lines changed
  • tools/src/main/python/opengrok_tools/utils

1 file changed

+1
-1
lines changed

tools/src/main/python/opengrok_tools/utils/mirror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def handle_disabled_project(config, project_name, disabled_msg, headers=None,
372372

373373

374374
def get_mirror_retcode(ignore_errors, value):
375-
if ignore_errors:
375+
if ignore_errors and value != SUCCESS_EXITVAL:
376376
logger = logging.getLogger(__name__)
377377
logger.info("error code is {} however '{}' property is true, "
378378
"so returning success".format(value, IGNORE_ERR_PROPERTY))

0 commit comments

Comments
 (0)