diff options
author | Timotheus Pokorra <tp@tbits.net> | 2016-10-05 09:40:03 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2016-10-05 09:40:13 +0200 |
commit | a3a546e1fbdda7f817b1a4e9d0700d108983780e (patch) | |
tree | ba6c6a6a9284e9a97766b905a449b88163fd98b0 /pykolab/setup | |
parent | efb60aa451319f372188033e8966dafd27685818 (diff) | |
download | pykolab-a3a546e1fbdda7f817b1a4e9d0700d108983780e.tar.gz |
subprocess call for freshclam needs to use collection for the parameters
Summary: fix compiler error: TypeError: bufsize must be an integer
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: #pykolab_developers
Tags: #pykolab
Differential Revision: https://git.kolab.org/D238
Diffstat (limited to 'pykolab/setup')
-rw-r--r-- | pykolab/setup/setup_mta.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/setup/setup_mta.py b/pykolab/setup/setup_mta.py index 53293cf..0a13fc3 100644 --- a/pykolab/setup/setup_mta.py +++ b/pykolab/setup/setup_mta.py @@ -472,11 +472,11 @@ result_format = "shared+%%s" log.error(_("Could not find a ClamAV update configuration file")) if os.path.isfile('/etc/freshclam.conf'): - subprocess.call( + subprocess.call([ '/usr/bin/freshclam', '--quiet', '--datadir="/var/lib/clamav"' - ) + ]) amavisservice = 'amavisd.service' clamavservice = 'clamd@amavisd.service' |