Only dump the profiling data when run with --verbose

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1292059
This commit is contained in:
Richard Hughes 2015-12-18 17:42:53 +00:00
parent 7df2c4c2e9
commit 2a1e75da72

View File

@ -1571,7 +1571,8 @@ fu_main_on_bus_acquired_cb (GDBusConnection *connection,
} }
/* dump startup profile data */ /* dump startup profile data */
as_profile_dump (priv->profile); if (fu_debug_is_verbose ())
as_profile_dump (priv->profile);
} }
/** /**