mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-28 18:48:59 +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