From b1a7715ba3038df4cc8aa32684de89b7e26fc162 Mon Sep 17 00:00:00 2001 From: salty Date: Mon, 29 Apr 2024 22:21:03 +0200 Subject: [PATCH] silence update.sh as well --- sb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sb.py b/sb.py index 1c2bfd2..d4230ea 100644 --- a/sb.py +++ b/sb.py @@ -619,7 +619,7 @@ def manage_ansible_venv(recreate=False): # Run the Saltbox update script and handle its exit status update_script_path = "/srv/git/saltbox/scripts/update.sh" - result = subprocess.run(["bash", update_script_path]) + result = subprocess.run(["bash", update_script_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if result.returncode != 0: print("Update script failed.") sys.exit(result.returncode)