Commit 4459c74
committed
chore: canonical exe path before validating.
We validate that the dpd path lives at the expected location on start. However,
this check can throw a false positive if we point to the exe via a symlink.
This patch canonicalizes the exe path before validating so that we validate the
real exe path, which may differ from env::current_exe().1 parent fa210df commit 4459c74
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
| |||
0 commit comments