Skip to content

Commit

Permalink
silence update.sh as well
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Apr 29, 2024
1 parent 10d3551 commit b1a7715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b1a7715

Please sign in to comment.