summaryrefslogtreecommitdiff
path: root/cmds-filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-filesystem.c')
-rw-r--r--cmds-filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 46754998..1dc686eb 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -238,7 +238,7 @@ static int cmd_df(int argc, char **argv)
}
ret = get_df(fd, &sargs);
- if (!ret && sargs) {
+ if (ret == 0) {
print_df(sargs);
free(sargs);
} else {