Date: Tue, 26 Sep 2017 21:54:19 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324033 - head/tools/tools/nanobsd Message-ID: <201709262154.v8QLsJYa072446@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Tue Sep 26 21:54:19 2017 New Revision: 324033 URL: https://svnweb.freebsd.org/changeset/base/324033 Log: Fix regression from r323855. The EXIT trap now isn't cleared, so upon exit it tried to unmount already unmounted partition, resulting in failure. Modified: head/tools/tools/nanobsd/legacy.sh Modified: head/tools/tools/nanobsd/legacy.sh ============================================================================== --- head/tools/tools/nanobsd/legacy.sh Tue Sep 26 21:18:43 2017 (r324032) +++ head/tools/tools/nanobsd/legacy.sh Tue Sep 26 21:54:19 2017 (r324033) @@ -197,7 +197,7 @@ create_diskimage ( ) ( fi mdconfig -d -u $MD - trap - 1 2 15 + trap - 1 2 15 EXIT ) > ${NANO_LOG}/_.di 2>&1 )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709262154.v8QLsJYa072446>