From: crouzet Date: Fri, 15 Mar 2019 14:12:58 +0000 (+0100) Subject: initialize status to 0 - it was leading to false return status when no patch is applied X-Git-Tag: 5.4.0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f830ccddb5af3ac37af57f8e56a3107a810ec4df;p=tools%2Fsat.git initialize status to 0 - it was leading to false return status when no patch is applied --- diff --git a/commands/prepare.py b/commands/prepare.py index 2fb8388..088edc3 100644 --- a/commands/prepare.py +++ b/commands/prepare.py @@ -154,10 +154,10 @@ Use the --force_patch option to overwrite it. args_source = args_appli + args_product_opt args_patch = args_appli + args_product_opt_patch - # Initialize the results to a failing status - res_clean = 1 - res_source = 1 - res_patch = 1 + # Initialize the results to a running status + res_clean = 0 + res_source = 0 + res_patch = 0 # Call the commands using the API if do_clean: