Skip to content
Snippets Groups Projects
Commit 39eb6f2c authored by Simon McVittie's avatar Simon McVittie
Browse files

all: Print exit status immediately before exiting

parent 2264fa6e
No related branches found
No related tags found
No related merge requests found
......@@ -871,5 +871,6 @@ out:
g_hash_table_unref (opt_env);
g_hash_table_unref (opt_unsetenv);
g_debug ("Exiting with status %d", launch_exit_status);
return launch_exit_status;
}
......@@ -1273,7 +1273,6 @@ main (int argc,
main_loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (main_loop);
g_debug ("Exiting");
out:
if (local_error != NULL)
......@@ -1306,5 +1305,6 @@ out:
g_clear_error (&local_error);
g_clear_pointer (&original_stdout, fclose);
g_debug ("Exiting with status %d", ret);
return ret;
}
......@@ -1756,5 +1756,6 @@ out:
g_clear_pointer (&opt_runtime_base, g_free);
g_clear_pointer (&opt_runtime, g_free);
g_debug ("Exiting with status %d", ret);
return ret;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment