diff options
-rw-r--r-- | coreutils/df.c | 4 | ||||
-rw-r--r-- | df.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index 8b8db78..1404e96 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -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); } @@ -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); } |