mirror of
https://github.com/nmap/nmap.git
synced 2026-09-01 07:52:57 +00:00
Prevent unintentional filename expansion
This commit is contained in:
parent
5d7012bab6
commit
a1ba7b7672
1 changed files with 2 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ test_addrset() {
|
|||
# Takes as an argument a host specification with invalid syntax. The
|
||||
# test passes if addrset returns with a non-zero exit code.
|
||||
expect_fail() {
|
||||
specs=$1
|
||||
$ADDRSET $specs < /dev/null 2> /dev/null
|
||||
specs="$1"
|
||||
$ADDRSET "$specs" < /dev/null 2> /dev/null
|
||||
ret=$?
|
||||
TESTS=$(expr $TESTS + 1)
|
||||
if [ "$ret" = "0" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue