summaryrefslogtreecommitdiff
path: root/src/rc/checkpath.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/checkpath.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/checkpath.c')
-rw-r--r--src/rc/checkpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 7ea94f0..f969569 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -208,6 +208,5 @@ int checkpath(int argc, char **argv)
optind++;
}
- exit(retval);
- /* NOTREACHED */
+ return retval;
}