Skip to content

Commit

Permalink
validate-icon: Don't log command ever
Browse files Browse the repository at this point in the history
If debug messages are turned on the output of validate-icon isn't a
valid key file since it contains log output as well.
  • Loading branch information
jsparber committed Apr 5, 2024
1 parent dfda5c4 commit 0df47d2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/validate-icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,6 @@ rerun_in_sandbox (const char *arg_width,
add_args (args, validate_icon, arg_width, arg_height, filename, NULL);
g_ptr_array_add (args, NULL);

{
g_autofree char *cmdline = g_strjoinv (" ", (char **) args->pdata);
g_debug ("Icon validation: Spawning %s", cmdline);
}

execvpe (flatpak_get_bwrap (), (char **) args->pdata, NULL);
/* If we get here, then execvpe() failed. */
g_printerr ("Icon validation: execvpe %s: %s\n", flatpak_get_bwrap (), g_strerror (errno));
Expand Down

0 comments on commit 0df47d2

Please sign in to comment.