mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
Improve check for whether ${DESTDIR}/dev is mounted.
Submitted by: gcooper
This commit is contained in:
parent
9073a96a85
commit
dcdebabdea
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ err() {
|
|||
}
|
||||
|
||||
cleanup() {
|
||||
if mount | grep -qE "devfs on ${DESTDIR}/dev"; then
|
||||
if [ -c "${DESTDIR}/dev/null" ]; then
|
||||
umount_loop ${DESTDIR}/dev 2>/dev/null
|
||||
fi
|
||||
umount_loop ${DESTDIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue