diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index 7dd2e89ce..79d5f7499 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -146,8 +146,8 @@ wait_for_apt() { local retry_count=30 local retry_timeout='10s' - local lock_msg='Could not acquire lock.' - local retry_msg="Waiting $retry_timeout for lock to release." + local lock_msg='Could not acquire lock' + local retry_msg="waiting $retry_timeout for lock to release." if [ -z "$progress_callback" ]; then if [ -z "$progress_bar_text" ]; then local old_text="Installing..." @@ -161,8 +161,7 @@ wait_for_apt() { echo "Attempting to acquire dpkg lock... (Attempt $count/$retry_count)" if __check_apt_lock; then if [[ -z $progress_callback ]]; then - echo " $lock_msg" - echo " $retry_msg" + echo " $lock_msg, $retry_msg" else $progress_callback "$retry_msg" fi