File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -581,13 +581,9 @@ main (int argc, char *argv[])
581581 // to get a proper error message, we now fetch the message via the returned exit code
582582 // the call returns false if the call failed, and this is what we expect to have happened
583583 // hence we can assume that there must be an error in GLib if it returned true
584- if (g_spawn_check_exit_status (exit_status , & error )) {
585- g_printerr ("Error: GLib is being inconsistent" );
586- exit (1 );
587- }
584+ g_spawn_check_exit_status (exit_status , & error );
588585 }
589- g_printerr ("Failed to run 'git rev-parse --short HEAD: %s (code %d)\n" , error -> message ,
590- error -> code );
586+ g_printerr ("Failed to run 'git rev-parse --short HEAD: %s (code %d)\n" , error -> message , error -> code );
591587 } else {
592588 version_env = g_strstrip (out );
593589
You can’t perform that action at this time.
0 commit comments