mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:55:19 +02:00
usrp/fscan: fail if the directory name begins with a dash
This commit is contained in:
parent
b7ad7f2a31
commit
e31144ff5f
@ -9,6 +9,7 @@ usage()
|
||||
|
||||
|
||||
[ "$1" ] || usage
|
||||
[ "${1#-}" = "$1" ] || usage
|
||||
[ "$3" ] && usage
|
||||
mkdir "$1" || exit
|
||||
pwr=${2:-2.6}
|
||||
|
Loading…
Reference in New Issue
Block a user