Zabbix agent no longer seems to start on Windows as a service, but there is no error in the log (in fact, the log is not even created). The problem seems to be in the following fragment in zabbix_agentd.c:
It is likely to be a problem, because when Windows starts our agent as a service, it passes --multiple-agents option without -i, -s, -x, -d, but we expect --multiple-agent to only be used in conjuction with the latter.
This is a regression from
ZBXNEXT-611, which added --foreground option.