mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix deleting existing socket file before making a new symbolic link
This commit is contained in:
parent
91fafccb0a
commit
69f05d4c26
@ -43,6 +43,7 @@ namespace BrowserShared
|
||||
|
||||
QString socketPath = subPath + serverName;
|
||||
#ifndef KEEPASSXC_DIST_FLATPAK
|
||||
QFile::remove(socketPath);
|
||||
// Create a symlink at the legacy location for backwards compatibility.
|
||||
QFile::link(socketPath, path + serverName);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user