From bbe9d7da79d89d86d666bafef30586179e806634 Mon Sep 17 00:00:00 2001 From: Matteo Riondato Date: Sun, 31 Aug 2008 20:08:05 +0000 Subject: [PATCH] Don't return always 0. Return what we get from exec_mountprog or mount_fs. PR: bin/125154 MFC after: 1 day --- sbin/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 03688d3563c1..c42e9dbede1f 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