[clamav-users] /bin/mkdir: cannot create directory ‘/run/clamav’: File exists
Bernd Petrovitsch
bernd at petrovitsch.priv.at
Wed Oct 17 21:48:52 UTC 2018
Hi all!
On 17/10/2018 19:36, Dino Edwards wrote:
[...]
> "Hey I noticed the "-" prefix in "ExecStartPre=-/bin/mkdir /run/clamav" line. This does not indicate a problem, but rather a warning letting you know that the directory already exists. You don't have anything to worry about"
FWIW but changing that to "ExecStartPre=/bin/mkdir -p /run/clamav"
should silence the "directory already exists" case (and it doesn't
return an error value).
MfG,
Bernd
--
Bernd Petrovitsch Email : bernd at petrovitsch.priv.at
LUGA : http://www.luga.at
More information about the clamav-users
mailing list