1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 10:09:42 +02:00

usrp/fscan: fail if the directory name begins with a dash

This commit is contained in:
Werner Almesberger 2010-11-17 13:24:11 -03:00
parent b7ad7f2a31
commit e31144ff5f

View File

@ -9,6 +9,7 @@ usage()
[ "$1" ] || usage
[ "${1#-}" = "$1" ] || usage
[ "$3" ] && usage
mkdir "$1" || exit
pwr=${2:-2.6}