fix potential data loss issue on failed umount (patch from #942)

SVN-Revision: 5474
v19.07.3_mercusys_ac12_duma
Felix Fietkau 18 years ago
parent f80c6e9e29
commit e3e87f09d9

@ -19,8 +19,8 @@ add)
}
;;
remove)
umount /tmp/$DEV
rm -rf /dev/$DEV /tmp/$DEV
umount /tmp/$DEV && rmdir /tmp/$DEV
rm -f /dev/$DEV /tmp/$DEV
;;
esac
} 2>&1 | logger

Loading…
Cancel
Save