This commit is contained in:
Eric Andersen 1999-11-27 17:41:29 +00:00
parent 4c78147755
commit c054b21f7d
2 changed files with 2 additions and 6 deletions

View File

@ -103,9 +103,7 @@ extern int df_main(int argc, char **argv)
}
while ((mountEntry = getmntent(mountTable))) {
int status = df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
if (status)
exit( status);
df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
}
endmntent(mountTable);
}

4
df.c
View File

@ -103,9 +103,7 @@ extern int df_main(int argc, char **argv)
}
while ((mountEntry = getmntent(mountTable))) {
int status = df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
if (status)
exit( status);
df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
}
endmntent(mountTable);
}