mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
[fix] Clarify why dpkg lock is needed
This commit is contained in:
@@ -158,7 +158,7 @@ wait_for_apt() {
|
|||||||
local count=0
|
local count=0
|
||||||
while [[ "$count" -lt "$retry_count" ]]; do
|
while [[ "$count" -lt "$retry_count" ]]; do
|
||||||
((count++))
|
((count++))
|
||||||
echo "Attempting to acquire dpkg lock... (Attempt $count/$retry_count)"
|
echo "Attempting to acquire dpkg lock to run apt command... (Attempt $count/$retry_count)"
|
||||||
if __check_apt_lock; then
|
if __check_apt_lock; then
|
||||||
if [[ -z $progress_callback ]]; then
|
if [[ -z $progress_callback ]]; then
|
||||||
echo " $lock_msg, $retry_msg"
|
echo " $lock_msg, $retry_msg"
|
||||||
|
|||||||
Reference in New Issue
Block a user