flash.sh: fix syntax

This is what I get for not testing this script before pushing it. :-)