Files
pulse/internal/agentupdate
rcourtman b8a60db6fa Fall back to argv0 for agent self-update path on FreeBSD (#1457)
Back-port the agentupdate half of v5 fix 8600706da to v6 (the install.sh
FreeBSD rc.d supervisor-pidfile change is already present in substance).
performUpdate now resolves the executable via resolveExecutablePath, which
falls back to an absolute, existing os.Args[0] when os.Executable() fails
or returns empty — the condition that breaks agent self-update on
FreeBSD/OPNsense. Adds an injectable osArgsFn and a unit test.
2026-06-04 10:19:45 +01:00
..