Skip to contentSkip to conversation

mount.nfs: Replace a "return 0; " that should be an "exit(0); "

PATCH In review Chuck Lever 1 participant 1 message Aug 10, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 mount.nfs: Replace a "return 0; " that should be an "exit(0); "

---

 utils/mount/mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
utils/mount/mount.c +1 -1
index 94435c8..a6e1685 100644
@@ -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;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs