Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 21:12:42 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287692 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201509112112.t8BLCgiM049538@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Sep 11 21:12:41 2015
New Revision: 287692
URL: https://svnweb.freebsd.org/changeset/base/287692

Log:
  Better to reset trap and explicitly exit success
  
  MFC after:	3 days
  X-MFC-to:	stable/10

Modified:
  head/usr.sbin/bsdinstall/scripts/script

Modified: head/usr.sbin/bsdinstall/scripts/script
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/script	Fri Sep 11 21:09:39 2015	(r287691)
+++ head/usr.sbin/bsdinstall/scripts/script	Fri Sep 11 21:12:41 2015	(r287692)
@@ -129,7 +129,8 @@ bsdinstall umount
 
 f_dprintf "Installation Completed at %s" "$( date )"
 
-trap true EXIT
+trap - EXIT
+exit $SUCCESS
 
 ################################################################################
 # END



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509112112.t8BLCgiM049538>