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
)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"