main.c: fixed indents
This commit is contained in:
parent
ba1fb083fb
commit
44a20ae419
6
main.c
6
main.c
@ -860,10 +860,12 @@ void do_halt (int error) {
|
|||||||
close (sfd);
|
close (sfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(exit_code)
|
if (exit_code) {
|
||||||
retval = exit_code;
|
retval = exit_code;
|
||||||
else
|
} else {
|
||||||
retval = error ? EXIT_FAILURE : EXIT_SUCCESS;
|
retval = error ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
exit (retval);
|
exit (retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user