projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3ffe5
)
otcore: Drop config load print
author
Colin Walters
<walters@verbum.org>
Tue, 27 Feb 2024 15:59:02 +0000
(10:59 -0500)
committer
Colin Walters
<walters@verbum.org>
Tue, 27 Feb 2024 15:59:47 +0000
(10:59 -0500)
Now that we're using `otcore_load_config` from the deploy
path we end up printing to stdout even for API callers (e.g.
our own CLI tools, and rpm-ostree/bootc/etc) which is wrong.
We don't need this print, so just drop it.
src/libotcore/otcore-prepare-root.c
patch
|
blob
|
history
diff --git
a/src/libotcore/otcore-prepare-root.c
b/src/libotcore/otcore-prepare-root.c
index 03575a478c3aa975a3997c969a3e9a9b6b25de99..187eeec09c8fae8e218000c18a6f691f43178ce7 100644
(file)
--- a/
src/libotcore/otcore-prepare-root.c
+++ b/
src/libotcore/otcore-prepare-root.c
@@
-139,8
+139,6
@@
otcore_load_config (int rootfs_fd, const char *filename, GError **error)
if (fd == -1)
continue;
- g_print ("Loading %s\n", path);
-
g_autofree char *buf = glnx_fd_readall_utf8 (fd, NULL, NULL, error);
if (!buf)
return NULL;