mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
7a1a5408e2
When the agent binary is symlinked (e.g., from /opt/pulse/bin to /usr/local/bin), the self-update would fail with "invalid cross-device link" because os.Rename() doesn't work across filesystems. Now resolves symlinks before update and creates the temp file in the same directory as the real binary. Related to #737