diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-20 19:20:01 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-10-16 13:21:47 +0200 |
commit | 2a235c23588f59957514f70feb1fd25c05ba7fc6 (patch) | |
tree | 508a3b716c7e34489dab27fbdf808848a0029ce3 | |
parent | 15049b00f06703526b2340d5b565c9dd4630e399 (diff) | |
download | major-2a235c23588f59957514f70feb1fd25c05ba7fc6.tar.gz major-2a235c23588f59957514f70feb1fd25c05ba7fc6.tar.bz2 major-2a235c23588f59957514f70feb1fd25c05ba7fc6.zip |
Switch to device after failed rpi3 flash
Change-Id: I2456816cbbfe24ddcd57651bd4658e98e14289c3
-rwxr-xr-x | tct/rpi3_prepare_flash_conf.sh | 1 |
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}" |