From f830ccddb5af3ac37af57f8e56a3107a810ec4df Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 15 Mar 2019 15:12:58 +0100 Subject: [PATCH] initialize status to 0 - it was leading to false return status when no patch is applied --- commands/prepare.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.39.2