]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs: Replace a "return 0; " that should be an "exit(0); "
authorChuck Lever <chuck.lever@oracle.com>
Fri, 10 Aug 2007 22:19:50 +0000 (18:19 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 10 Aug 2007 23:47:35 +0000 (09:47 +1000)
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c

index 94435c88030c3e91b6123cb4924acf124cfc677a..a6e16851c322a26a3ddcb30feaa1823280da6206 100644 (file)
@@ -431,7 +431,7 @@ int main(int argc, char *argv[])
                        break;
                case 'V':
                        printf("%s: ("PACKAGE_STRING")\n", progname);
-                       return 0;
+                       exit(0);
                case 'w':
                        flags &= ~MS_RDONLY;
                        break;