mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
sysprof-cli: exit main loop on failure
This commit is contained in:
@ -62,6 +62,7 @@ profiler_failed (SysprofProfiler *profiler_,
|
|||||||
|
|
||||||
g_printerr ("Failure: %s\n", reason->message);
|
g_printerr ("Failure: %s\n", reason->message);
|
||||||
exit_code = EXIT_FAILURE;
|
exit_code = EXIT_FAILURE;
|
||||||
|
g_main_loop_quit (main_loop_);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
gint
|
||||||
|
|||||||
Reference in New Issue
Block a user