composefs: Only call `_get_symlink_target()` on symlinks
authorColin Walters <walters@verbum.org>
Tue, 1 Aug 2023 21:21:55 +0000 (17:21 -0400)
committerColin Walters <walters@verbum.org>
Wed, 2 Aug 2023 01:29:04 +0000 (21:29 -0400)
commit15cb0b47b1fa0f21fe1c935baa23ec4cde77f1cc
treebb65e2b557950344c6955f81316ca0e7d2d7a98c
parentf44909f8a2ed084da241a9f241376b9b5ef98be7
composefs: Only call `_get_symlink_target()` on symlinks

This fixes a warning from newer glib that we're now seeing
in the Debian testing CI runs.
src/libostree/ostree-repo-composefs.c