git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1712 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -87,7 +87,7 @@ void _corosync_exit_error (
{
log_printf (LOG_LEVEL_ERROR, "AIS Executive exiting "
"with status %d at %s:%u.\n", err, file, line);
- exit (EXIT_FAILURE);
+ exit (err);
}
#define min(a,b) ((a) < (b) ? (a) : (b))