From d91663779883c87d1217eaca110ca5bb5bcad40c Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 15 Oct 2025 05:53:48 -0700 Subject: [PATCH] Complete the conditional branches. --- tasks/general/acct_mgmt/users.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 78fece4..ef1193a 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -568,8 +568,11 @@ dev_exists="$?" if [[ "$dev_exists" == 0 ]]; then git switch dev - else + elif [[ "$dev_exists" == 2 ]]; then git switch main + else + echo "ERROR: Unknown status for dev_exists, '$dev_exists'." + continue fi git pull git push