summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/df.c4
-rw-r--r--df.c4
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);
}
diff --git a/df.c b/df.c
index 8b8db78..1404e96 100644
--- a/df.c
+++ b/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);
}