From 17160dcdbeecb55994f91b4107506c3185460637 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 28 Dec 2020 14:02:46 -0500 Subject: [PATCH] [fix] Don't repeat fail message on last attempt --- salt/common/tools/sbin/so-common | 1 - 1 file changed, 1 deletion(-) diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index f124e4f64..fa1dec2f8 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -174,7 +174,6 @@ wait_for_apt() { if __check_apt_lock; then if [[ -z $progress_callback ]]; then - echo "$lock_msg" echo "Could not acquire lock after $retry_count attempts, aborting." fi return 1