mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
[fix] Message formatting
This commit is contained in:
@@ -157,6 +157,8 @@ wait_for_apt() {
|
||||
fi
|
||||
local count=0
|
||||
while [[ "$count" -lt "$retry_count" ]]; do
|
||||
((count++))
|
||||
echo "Attempting to acquire dpkg lock... (Attempt $count/$retry_count)"
|
||||
if __check_apt_lock; then
|
||||
if [[ -z $progress_callback ]]; then
|
||||
echo " $lock_msg"
|
||||
@@ -169,7 +171,6 @@ wait_for_apt() {
|
||||
return 0
|
||||
fi
|
||||
sleep "$retry_timeout"
|
||||
((count++))
|
||||
done
|
||||
|
||||
if __check_apt_lock; then
|
||||
|
||||
Reference in New Issue
Block a user