[Midnightbsd-cvs] src [11187] trunk/bin/pwait/pwait.c: change exit

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 30 19:44:19 EDT 2018


Revision: 11187
          http://svnweb.midnightbsd.org/src/?rev=11187
Author:   laffer1
Date:     2018-06-30 19:44:18 -0400 (Sat, 30 Jun 2018)
Log Message:
-----------
change exit

Modified Paths:
--------------
    trunk/bin/pwait/pwait.c

Modified: trunk/bin/pwait/pwait.c
===================================================================
--- trunk/bin/pwait/pwait.c	2018-06-30 23:43:39 UTC (rev 11186)
+++ trunk/bin/pwait/pwait.c	2018-06-30 23:44:18 UTC (rev 11187)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2004-2009, Jilles Tjoelker
  * All rights reserved.
@@ -32,6 +33,7 @@
  */
 
 #include <sys/cdefs.h>
+__FBSDID("$FreeBSD: stable/10/bin/pwait/pwait.c 245506 2013-01-16 18:15:25Z delphij $");
 
 #include <sys/types.h>
 #include <sys/event.h>
@@ -140,5 +142,5 @@
 		nleft -= n;
 	}
 
-	return 0;
+	exit(EX_OK);
 }



More information about the Midnightbsd-cvs mailing list