]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: fix output value assignment
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Feb 2025 11:25:05 +0000 (20:25 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 4 Mar 2025 21:28:53 +0000 (21:28 +0000)
Fixes a bug in 7eeda1da90c79ba420a6d82c1d9589b23048d79f (v256).

(cherry picked from commit 914d1ec171eb0e27ced472aed2d05eae19b265da)

src/tmpfiles/tmpfiles.c

index b699a1e5be9da5d79f86a5e40f674174fa5533fd..0e40896ec64a5523d1973c3185c0625ea66964c1 100644 (file)
@@ -586,7 +586,7 @@ static int opendir_and_stat(
 
                 *ret = NULL;
                 *ret_sx = (struct statx) {};
-                *ret_mountpoint = NULL;
+                *ret_mountpoint = false;
                 return 0;
         }