Skip to content

Commit

Permalink
Return errno indicating occurred fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanformigoni committed Oct 4, 2024
1 parent e2e9ee7 commit 0526b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ die_with_error (const char *format, ...)

fprintf (stderr, ": %s\n", strerror (errsv));

exit (1);
exit (errno);
}

void
Expand Down

0 comments on commit 0526b78

Please sign in to comment.