From 07b8e1292f97c5f55c08001bb47cad3e9b725c12 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 11 Apr 2015 23:43:33 +0800 Subject: [PATCH] artiq_flash: fix stderr redirections --- artiq/frontend/artiq_flash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_flash.sh b/artiq/frontend/artiq_flash.sh index 4fd0a743f..2b3a8328f 100755 --- a/artiq/frontend/artiq_flash.sh +++ b/artiq/frontend/artiq_flash.sh @@ -109,7 +109,7 @@ check_return() { exit } -xc3sprog -c $CABLE -R 2&>1 > /dev/null +xc3sprog -c $CABLE -R > /dev/null 2>&1 if [ "$?" != "0" ] then echo "Flashing failed. Maybe you do not have permission to access the USB device?" @@ -139,4 +139,4 @@ then xc3sprog -v -c $CABLE -I$PROXY_PATH/$PROXY $BIN_PREFIX/runtime.fbi:w:$RUNTIME_ADDR:BIN fi echo "Done." -xc3sprog -v -c $CABLE -R 2&>1 > /dev/null +xc3sprog -v -c $CABLE -R > /dev/null 2>&1