mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 21:25:48 +00:00
fix potential data loss issue on failed umount (patch from #942)
SVN-Revision: 5474
This commit is contained in:
parent
f80c6e9e29
commit
e3e87f09d9
@ -19,8 +19,8 @@ add)
|
|||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
remove)
|
remove)
|
||||||
umount /tmp/$DEV
|
umount /tmp/$DEV && rmdir /tmp/$DEV
|
||||||
rm -rf /dev/$DEV /tmp/$DEV
|
rm -f /dev/$DEV /tmp/$DEV
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
} 2>&1 | logger
|
} 2>&1 | logger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user