We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fe723 commit 33cddf9Copy full SHA for 33cddf9
apps/clamav.sh
@@ -72,14 +72,14 @@ check_command systemctl restart clamav-daemon
72
73
print_text_in_color "$ICyan" "Waiting for ClamAV daemon to start up. This can take a while... (max 60s)"
74
counter=0
75
-while ! [ -a "/var/run/clamav/clamd.ctl" ] && [ "$counter" -lt 12 ]
+while ! [ -e "/var/run/clamav/clamd.ctl" ] && [ "$counter" -lt 12 ]
76
do
77
countdown "Waiting for ClamAV to start..." "10"
78
((counter++))
79
done
80
81
# Check if clamd exists now
82
-if ! [ -a "/var/run/clamav/clamd.ctl" ]
+if ! [ -e "/var/run/clamav/clamd.ctl" ]
83
then
84
msg_box "Failed to start the ClamAV daemon.
85
Please report this to $ISSUES"
0 commit comments