Skip to content

Commit

Permalink
Change another occurence of rm(...) to tryrmopenfile(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Apr 15, 2022
1 parent 5d9e3f2 commit a5a7e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/FileWatching/src/pidfile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mutable struct LockMonitor
lock = new(at, fd, update)
finalizer(close, lock)
catch ex
rm(at)
tryrmopenfile(at)
close(fd)
rethrow(ex)
end
Expand Down

0 comments on commit a5a7e07

Please sign in to comment.