]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #11006 from poettering/conf-file-fix
authorLennart Poettering <lennart@poettering.net>
Fri, 30 Nov 2018 23:47:22 +0000 (00:47 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 23:47:22 +0000 (00:47 +0100)
minor fixes for conf-files.c

1  2 
src/basic/conf-files.c

index 675746a944c0b1fb3cf65fb858fbdfa3f0c5c92f,2d0073279f215fb9888a397a6c38eb515ea54544..76750606b43004b95a740fa092a2bbac52ca8628
@@@ -232,9 -233,9 +233,9 @@@ int conf_files_insert(char ***strv, con
                  /* … we are not there yet, let's continue */
          }
  
 -        t = path_join(root, path, NULL);
 +        t = path_join(root, path);
          if (!t)
-                 return log_oom();
+                 return -ENOMEM;
  
          r = strv_insert(strv, i, t);
          if (r < 0)