mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
usrp/fscan: fail if the directory name begins with a dash
This commit is contained in:
@@ -9,6 +9,7 @@ usage()
|
||||
|
||||
|
||||
[ "$1" ] || usage
|
||||
[ "${1#-}" = "$1" ] || usage
|
||||
[ "$3" ] && usage
|
||||
mkdir "$1" || exit
|
||||
pwr=${2:-2.6}
|
||||
|
||||
Reference in New Issue
Block a user