Prefer exit(0) from main over return(0).
Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. Requested by: des Approved by: philip (mentor)
This commit is contained in:
parent
16e435ca61
commit
74cf8088e7
@ -216,7 +216,7 @@ main(int argc, char *argv[])
|
||||
sleep((unsigned int) max(Fort_len / CPERS, MINW));
|
||||
}
|
||||
|
||||
return (0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user