summaryrefslogtreecommitdiff
path: root/src/rc/mountinfo.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-18 13:09:51 +0000
committerRoy Marples <roy@marples.name>2008-09-18 13:09:51 +0000
commit80a17eb5966a2b2c1dff3206621a338b45cbdf7d (patch)
tree859cff777b1282d1fb912782d77bbe5bdb443ce1 /src/rc/mountinfo.c
parent39304745d4eb49460d2aab307b85a8ff218bfc45 (diff)
downloadopenrc-80a17eb5966a2b2c1dff3206621a338b45cbdf7d.tar.gz
openrc-80a17eb5966a2b2c1dff3206621a338b45cbdf7d.tar.bz2
openrc-80a17eb5966a2b2c1dff3206621a338b45cbdf7d.tar.xz
Clean up some compile warnings.
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 858851f..c6a421c 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;
}