aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c
index 11a94bfc..a0250e83 100644
--- a/src/mountinfo.c
+++ b/src/mountinfo.c
@@ -364,7 +364,7 @@ int mountinfo (int argc, char **argv)
continue;
if (skip_point_regex && regexec (skip_point_regex, n, 0, NULL, 0) == 0)
continue;
- if (rc_is_env ("RC_QUIET", "yes") != 0)
+ if (! rc_is_env ("RC_QUIET", "yes"))
printf ("%s\n", n);
result = EXIT_SUCCESS;
}