aboutsummaryrefslogtreecommitdiff
path: root/src/rc/mountinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/mountinfo.c')
-rw-r--r--src/rc/mountinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c
index 858851ff..c6a421c3 100644
--- a/src/rc/mountinfo.c
+++ b/src/rc/mountinfo.c
@@ -481,6 +481,5 @@ int mountinfo(int argc, char **argv)
REG_FREE(point_regex);
REG_FREE(skip_point_regex);
- exit(result);
- /* NOTREACHED */
+ return result;
}