int fakeIt = FALSE;
int useMtab = TRUE;
int i;
- int rc = FALSE;
+ int rc = EXIT_FAILURE;
int fstabmount = FALSE;
#if defined BB_FEATURE_USE_DEVPS_PATCH
free( mntentlist);
close(fd);
#endif
- exit(TRUE);
+ return EXIT_SUCCESS;
}
#else
if (argc == 1) {
} else {
perror(mtab_file);
}
- exit(TRUE);
+ return EXIT_SUCCESS;
}
#endif
&extra_opts, &string_flags, 1);
if ( rc != 0) {
fatalError("nfsmount failed: %s\n", strerror(errno));
- rc = FALSE;
+ rc = EXIT_FAILURE;
}
}
#endif
if (all == FALSE)
break;
- rc = TRUE; // Always return 0 for 'all'
+ rc = EXIT_SUCCESS; // Always return 0 for 'all'
}
if (fstabmount == TRUE)
endmntent(f);
goto singlemount;
- exit(FALSE);
-
goodbye:
usage(mount_usage);
}