Skip to content

Commit 33cddf9

Browse files
authored
fix clamav (#2759)
Signed-off-by: Daniel Hansson <[email protected]>
1 parent b3fe723 commit 33cddf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/clamav.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ check_command systemctl restart clamav-daemon
7272

7373
print_text_in_color "$ICyan" "Waiting for ClamAV daemon to start up. This can take a while... (max 60s)"
7474
counter=0
75-
while ! [ -a "/var/run/clamav/clamd.ctl" ] && [ "$counter" -lt 12 ]
75+
while ! [ -e "/var/run/clamav/clamd.ctl" ] && [ "$counter" -lt 12 ]
7676
do
7777
countdown "Waiting for ClamAV to start..." "10"
7878
((counter++))
7979
done
8080

8181
# Check if clamd exists now
82-
if ! [ -a "/var/run/clamav/clamd.ctl" ]
82+
if ! [ -e "/var/run/clamav/clamd.ctl" ]
8383
then
8484
msg_box "Failed to start the ClamAV daemon.
8585
Please report this to $ISSUES"

0 commit comments

Comments
 (0)