summaryrefslogtreecommitdiff
path: root/tct/rpi3_prepare_flash_conf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tct/rpi3_prepare_flash_conf.sh')
-rwxr-xr-xtct/rpi3_prepare_flash_conf.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tct/rpi3_prepare_flash_conf.sh b/tct/rpi3_prepare_flash_conf.sh
index d82b675..92916d0 100755
--- a/tct/rpi3_prepare_flash_conf.sh
+++ b/tct/rpi3_prepare_flash_conf.sh
@@ -64,6 +64,7 @@ cd "${OLDPWD}"
change_uuid "${UUID_FILE}" "${DEV_SDCARD}"
if [ $RET -ne 0 ]; then
+ switch2device "${SDMUX}"
die "flash_dd exited with an error" "$RET"
fi
switch2device "${SDMUX}"