contrib/chg/chg.c
changeset 28477 194a6cd873cd
parent 28455 412ee35a8005
child 28516 3bf2892f685f
--- a/contrib/chg/chg.c	Sun Mar 06 03:19:08 2016 +0530
+++ b/contrib/chg/chg.c	Fri Mar 11 02:52:06 2016 +0000
@@ -252,7 +252,8 @@
 
 cleanup:
 	if (WIFEXITED(pst)) {
-		abortmsg("cmdserver exited with status %d", WEXITSTATUS(pst));
+		debugmsg("cmdserver exited with status %d", WEXITSTATUS(pst));
+		exit(WEXITSTATUS(pst));
 	} else if (WIFSIGNALED(pst)) {
 		abortmsg("cmdserver killed by signal %d", WTERMSIG(pst));
 	} else {