mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 13:08:07 +00:00
fix(macos): preserve approvals migration data
(cherry picked from commit 4b1b0275a7)
This commit is contained in:
@@ -368,7 +368,7 @@ enum ExecApprovalsStore {
|
||||
tempURL.path,
|
||||
targetURL.path,
|
||||
nil,
|
||||
copyfile_flags_t(COPYFILE_EXCL))
|
||||
copyfile_flags_t(COPYFILE_DATA | COPYFILE_EXCL))
|
||||
if copied == -1 {
|
||||
if errno == EEXIST {
|
||||
try? FileManager().removeItem(at: tempURL)
|
||||
|
||||
Reference in New Issue
Block a user