Skip to content

Commit

Permalink
otcore: Drop config load print
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cgwalters committed Feb 27, 2024
1 parent 1b3ffe5 commit bf81162
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libotcore/otcore-prepare-root.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf81162

Please sign in to comment.