fix typo in 2_backup_flash.sh

This commit is contained in:
NotWearingPants 2020-11-30 20:02:13 +02:00 committed by Konrad Beckmann
parent 0590fdd4e7
commit 46e5a861aa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ mkdir -p backups
mkdir -p logs mkdir -p logs
echo "Attempting to dump flash using adapter $1." echo "Attempting to dump flash using adapter $1."
echo "Running OpenOCD... (This will take roughly 30 seconds, you Game and Watch screen will blink in between.)" echo "Running OpenOCD... (This will take roughly 30 seconds, your Game and Watch screen will blink in between.)"
if ! openocd -f openocd/flash_"$1".cfg >>logs/2_openocd.log 2>&1; then if ! openocd -f openocd/flash_"$1".cfg >>logs/2_openocd.log 2>&1; then
echo "Failed to dump SPI flash from device. Verify debug connection and try again." echo "Failed to dump SPI flash from device. Verify debug connection and try again."
exit 1 exit 1