diff options
author | matteo <matteo@FreeBSD.org> | 2008-08-31 20:08:05 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2008-08-31 20:08:05 +0000 |
commit | 3e4620e0519ed30816fed26ced1fc802ced55e7c (patch) | |
tree | 3b4d4312c1af6df88deef238fd5e2a7a15b188a2 /sbin/mount | |
parent | ae821afba0ec9229e10498d5394cf6c7ab987e37 (diff) | |
download | FreeBSD-src-3e4620e0519ed30816fed26ced1fc802ced55e7c.zip FreeBSD-src-3e4620e0519ed30816fed26ced1fc802ced55e7c.tar.gz |
Don't return always 0. Return what we get from exec_mountprog or
mount_fs.
PR: bin/125154
MFC after: 1 day
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 03688d3..c42e9db 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -576,7 +576,7 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags, prmount(&sf); } - return (0); + return (ret); } void |