forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: do not always assume permission problems

This commit is contained in:
Sebastien Bourdeauducq 2015-04-11 22:54:17 +08:00
parent 8a3be4eca0
commit 8a2b8fc634
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ check_return() {
xc3sprog -c $CABLE -R 2&>1 > /dev/null
if [ "$?" != "0" ]
then
echo "Flashing failed because it seems you do not have permission to access the USB device."
echo "Flashing failed. Maybe you do not have permission to access the USB device?"
echo "To fix this you might want to add a udev rule by doing:"
echo "$ sudo cp $ARTIQ_PREFIX/misc/$UDEV_RULES /etc/udev/rules.d"
echo "Then unplug/replug your device and try flashing again"