| |
@@ -411,12 +411,15 @@
|
| |
# make temp mount points
|
| |
mkdir /tmp/{boot,root,fw} &> /dev/null
|
| |
mount "$BOOTPART" /tmp/boot &> /dev/null
|
| |
- mount "$FIRMPART" /tmp/fw
|
| |
-
|
| |
if [ $? -ne 0 ]; then
|
| |
echo "Error: mount $BOOTPART /tmp/boot failed"
|
| |
exit 1
|
| |
fi
|
| |
+ mount "$FIRMPART" /tmp/fw
|
| |
+ if [ $? -ne 0 ]; then
|
| |
+ echo "Error: mount $FIRMPART /tmp/fw failed"
|
| |
+ exit 1
|
| |
+ fi
|
| |
|
| |
if [ "$RESIZEFS" = "" ]; then
|
| |
get_lvm_name
|
| |
This fixes a confusing error message that I hit:
mount: /tmp/fw: special device /dev/mmcblk01 does not exist.
Error: mount /dev/mmcblk02 /tmp/boot failed