[fix] fixed execution trouble in `clone` script
This commit is contained in:
parent
31c58fcac6
commit
04f7701655
|
@ -137,7 +137,7 @@ step3(){
|
||||||
step4(){
|
step4(){
|
||||||
echo -e "\n>>> [4] Mounting partition ${DEV}2";
|
echo -e "\n>>> [4] Mounting partition ${DEV}2";
|
||||||
|
|
||||||
test ! -f ${DEV}2 && $( echo "<<< error: device ${DEV}2 does not exist" && exit );
|
test ! -f ${DEV}2 && ( echo "<<< error: device ${DEV}2 does not exist" && exit );
|
||||||
|
|
||||||
# [1] Mount device partition
|
# [1] Mount device partition
|
||||||
sudo mount ${DEV}2 /mnt || $( echo "<<< error: can't mount" && exit );
|
sudo mount ${DEV}2 /mnt || $( echo "<<< error: can't mount" && exit );
|
||||||
|
|
Loading…
Reference in New Issue