diff --git a/src/wrap.c b/src/wrap.c index 979a656b28a0dbd38b85606c468dc491a50c24a4..1e1a271a0f32b055e3b0d661fdf2c4138f711e0f 100644 --- a/src/wrap.c +++ b/src/wrap.c @@ -2043,6 +2043,16 @@ main (int argc, quoted = g_shell_quote (g_ptr_array_index (bwrap->argv, i)); g_message ("\t%s", quoted); } + + g_message ("%s environment:", bwrap_executable); + + for (i = 0; bwrap->envp != NULL && bwrap->envp[i] != NULL; i++) + { + g_autofree gchar *quoted = NULL; + + quoted = g_shell_quote (bwrap->envp[i]); + g_message ("\t%s", quoted); + } } /* flatpak_bwrap_finish did this */