diff options
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 |
commit | 73eed2f7add9fb2086022cf6a445c455a1341f0d (patch) | |
tree | 03884b6cf04368905b692bbc5d9260eee2c3fec4 /iso2usb.sh | |
parent | 6f443a067e9e3f82b2adc755270ab4d518a90161 (diff) | |
download | liveslak-73eed2f7add9fb2086022cf6a445c455a1341f0d.tar.gz liveslak-73eed2f7add9fb2086022cf6a445c455a1341f0d.tar.xz |
iso2usb.sh: quell a couple of harmless warnings
Diffstat (limited to 'iso2usb.sh')
-rw-r--r-- | iso2usb.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 } |