summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-10-11 22:35:04 +0200
committer Eric Hameleers <alien@slackware.com>2017-10-11 22:35:04 +0200
commit73eed2f7add9fb2086022cf6a445c455a1341f0d (patch)
tree03884b6cf04368905b692bbc5d9260eee2c3fec4
parent6f443a067e9e3f82b2adc755270ab4d518a90161 (diff)
downloadliveslak-73eed2f7add9fb2086022cf6a445c455a1341f0d.tar.gz
liveslak-73eed2f7add9fb2086022cf6a445c455a1341f0d.tar.xz
iso2usb.sh: quell a couple of harmless warnings
-rw-r--r--iso2usb.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/iso2usb.sh b/iso2usb.sh
index 3f86775..470438f 100644
--- a/iso2usb.sh
+++ b/iso2usb.sh
@@ -123,10 +123,10 @@ cleanup() {
losetup -d ${LODEV}
fi
fi
- [ -n "${ISOMNT}" ] && ( umount -f ${ISOMNT} 2>/dev/null; rmdir $ISOMNT )
- [ -n "${CNTMNT}" ] && ( umount -f ${CNTMNT} 2>/dev/null; rmdir $CNTMNT )
- [ -n "${USBMNT}" ] && ( umount -f ${USBMNT} 2>/dev/null; rmdir $USBMNT )
- [ -n "${US2MNT}" ] && ( umount -f ${US2MNT} 2>/dev/null; rmdir $US2MNT )
+ [ -n "${ISOMNT}" ] && ( umount -f ${ISOMNT} 2>/dev/null; rmdir $ISOMNT 2>/dev/null )
+ [ -n "${CNTMNT}" ] && ( umount -f ${CNTMNT} 2>/dev/null; rmdir $CNTMNT 2>/dev/null )
+ [ -n "${USBMNT}" ] && ( umount -f ${USBMNT} 2>/dev/null; rmdir $USBMNT 2>/dev/null )
+ [ -n "${US2MNT}" ] && ( umount -f ${US2MNT} 2>/dev/null; rmdir $US2MNT 2>/dev/null )
[ -n "${IMGDIR}" ] && ( rm -rf $IMGDIR )
set -e
}