From: Nick Labich Date: Thu, 24 Jul 2025 19:25:58 +0000 (-0400) Subject: sysupdate: Prevent unnecessary failure when a transfer Path is not present X-Git-Tag: v258-rc2~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85e9805903d146f81551cb2c8398fb7f2345a55e;p=thirdparty%2Fsystemd.git sysupdate: Prevent unnecessary failure when a transfer Path is not present Fixes https://github.com/systemd/systemd/issues/38007 --- diff --git a/src/sysupdate/sysupdate-resource.c b/src/sysupdate/sysupdate-resource.c index 4060deeddf5..549edcf9d4c 100644 --- a/src/sysupdate/sysupdate-resource.c +++ b/src/sysupdate/sysupdate-resource.c @@ -697,7 +697,7 @@ int resource_resolve_path( } else if (RESOURCE_IS_FILESYSTEM(rr->type)) { _cleanup_free_ char *resolved = NULL, *relative_to = NULL; - ChaseFlags chase_flags = CHASE_PREFIX_ROOT; + ChaseFlags chase_flags = CHASE_NONEXISTENT | CHASE_PREFIX_ROOT; if (rr->path_relative_to == PATH_RELATIVE_TO_EXPLICIT) { assert(relative_to_directory);