mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
fixed unbound variable in list command
This commit is contained in:
parent
443f397ddb
commit
36acb6c6fc
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ case $ACTION in
|
||||||
do
|
do
|
||||||
[ ! -e "$t/install" ] && continue
|
[ ! -e "$t/install" ] && continue
|
||||||
|
|
||||||
if [[ "$2" == "" ]]; then
|
if [[ "${2:-}" == "" ]]; then
|
||||||
echo "$t"
|
echo "$t"
|
||||||
else
|
else
|
||||||
if is_tool_installed "$t"; then
|
if is_tool_installed "$t"; then
|
||||||
|
|
Loading…
Reference in a new issue