More init fixes. Fixed sync segfault.

-Erik
This commit is contained in:
Eric Andersen
1999-11-03 16:52:50 +00:00
parent 219d6f5e0c
commit be971d6b69
9 changed files with 45 additions and 48 deletions

View File

@ -26,9 +26,9 @@
extern int
sync_main(int argc, char * * argv)
{
if ( **(argv+1) == '-' ) {
if ( argc>1 && **(argv+1) == '-' ) {
usage( "sync\nWrite all buffered filesystem blocks to disk.\n");
}
return sync();
exit( sync());
}