From bf811629c089d6e6fcf7a239e238e23437684485 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 27 Feb 2024 10:59:02 -0500 Subject: [PATCH] otcore: Drop config load print 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libotcore/otcore-prepare-root.c b/src/libotcore/otcore-prepare-root.c index 03575a478c..187eeec09c 100644 --- 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;