From f8fa851ff032211c908ad12231a2f2c8b996639a Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Wed, 2 Nov 2016 16:30:21 -0700 Subject: [PATCH] Added some spacing for cleaner output. --- Exercise5c/auto_update_magic.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Exercise5c/auto_update_magic.sh b/Exercise5c/auto_update_magic.sh index 9892c9f..ad60efe 100755 --- a/Exercise5c/auto_update_magic.sh +++ b/Exercise5c/auto_update_magic.sh @@ -168,9 +168,9 @@ for (( i = 0; i < RECIPE_COUNT; i++ )); do echo "[ERROR] An error occurred while calling the policy:" echo "$MAGIC_OUTPUT" elif echo "$MAGIC_OUTPUT" | grep -q "No policies were found"; then - echo "${TRIGGERS[$i]} does not need updating." + echo " ${TRIGGERS[$i]} does not need updating." elif echo "$MAGIC_OUTPUT" | grep -q "Executing Policy Auto Update"; then - echo "${TRIGGERS[$i]} updated successfully." + echo " ${TRIGGERS[$i]} updated successfully." DO_RECON=true fi @@ -184,6 +184,7 @@ done # End iterating through recipes. # If any app was successfully updated, perform a recon when finished. if [[ $DO_RECON == true ]]; then + echo " " # for some visual separation before recon runs if [[ $DEBUG_MODE == false ]]; then $jamf recon else