mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof-cli: avoid erroring on non-zero exit
This commit is contained in:
@ -198,7 +198,11 @@ sysprof_cli_wait_cb (GObject *object,
|
||||
g_assert (user_data == NULL);
|
||||
|
||||
if (!sysprof_recording_wait_finish (recording, result, &error))
|
||||
g_error ("Failed to complete recording: %s", error->message);
|
||||
{
|
||||
if (error->domain != G_SPAWN_EXIT_ERROR)
|
||||
g_printerr ("Failed to complete recording: %s\n",
|
||||
error->message);
|
||||
}
|
||||
|
||||
g_main_loop_quit (main_loop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user