More init fixes. Fixed sync segfault.
-Erik
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user