Commit dbeea07
committed
Use resolve() instead of normpath for librrd path comparison
Ubuntu 26.04's ldd resolves symlinks and returns the real path under
/opt/omd/versions/... rather than the site symlink path under
/omd/sites/int_test/. normpath only flattens .. components; resolve()
also follows symlinks, making both sides of the assertion canonical
before comparing.
CMK-31095
Change-Id: Icedfdb9bab05c163a7fcc5063b2bc8aa582aafdd
(cherry picked from commit 862061e)1 parent 60fd1ce commit dbeea07
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
0 commit comments