mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[fix] Message formatting
This commit is contained in:
@@ -157,10 +157,12 @@ 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"
|
||||
echo "$retry_msg"
|
||||
echo " $lock_msg"
|
||||
echo " $retry_msg"
|
||||
else
|
||||
$progress_callback "$retry_msg"
|
||||
fi
|
||||
@@ -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