Yet another installment in the ongoing tar saga

-Erik
This commit is contained in:
Erik Andersen
2000-03-28 00:58:14 +00:00
parent 6acaa40f27
commit 3364d78b18
12 changed files with 191 additions and 69 deletions

View File

@ -108,7 +108,12 @@ extern int swap_on_off_main(int argc, char **argv)
while (*++(*argv))
switch (**argv) {
case 'a':
whine_if_fstab_is_missing();
{
struct stat statBuf;
if (stat("/etc/fstab", &statBuf) < 0)
fatalError("/etc/fstab file missing\n");
}
do_em_all();
break;
default: