Skip to content

Commit 0deffe4

Browse files
committed
Fix clamav if condition check in upgrade.
1 parent 183e90a commit 0deffe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
# Remove deprecated line from ClamAV configuration file
4646
if [ -e "/etc/clamav/clamd.conf" ]; then
4747
clamd_conf_update_check=$(grep DetectBrokenExecutables /etc/clamav/clamd.conf)
48-
if [ ! -z $clamd_conf_update_check ]; then
48+
if [ ! -z "$clamd_conf_update_check" ]; then
4949
echo "(*) Updating ClamAV configuration..."
5050
sed -i '/DetectBrokenExecutables/d' /etc/clamav/clamd.conf
5151
fi

0 commit comments

Comments
 (0)