diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-06-30 22:39:35 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2020-06-30 22:42:41 +0800 |
commit | 71417ab29ce8d47f20375aae656ff0b0f530a238 (patch) | |
tree | de2cf1875b4626892c84555c34a9acf0c29c2511 | |
parent | 56dce308f2f21a4c20e040cb4342832a4935ed8c (diff) | |
download | liveusb-builder-71417ab29ce8d47f20375aae656ff0b0f530a238.tar.xz |
skip the ROOTPATH umount if BOOTPATH is the same as ROOTPATH
-rwxr-xr-x | buildlive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ if [ "$UMOUNT_BOOT" == 1 ]; then msg 'Trying to umount the boot mountpoint, you may need to wait for sync() to complete.' udevil umount "$BOOTPATH" fi -if [ "$UMOUNT_ROOT" == 1 ]; then +if [ "$UMOUNT_ROOT" == 1 -a "$ROOTPATH" != "$BOOTPATH" ]; then msg 'Trying to umount the root mountpoint, you may need to wait for sync() to complete.' udevil umount "$ROOTPATH" fi |