mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix regression from r323855. The EXIT trap now isn't cleared, so upon
exit it tried to unmount already unmounted partition, resulting in failure.
This commit is contained in:
parent
61fb8de9f1
commit
119bdf3b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue