mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
fix unbound variable error
This commit is contained in:
parent
b2288c946d
commit
7f4cfe2c57
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
[ -z "$ALLOW_SUDO" ] && export ALLOW_SUDO=0
|
[[ -z ${ALLOW_SUDO+x} ]] && export ALLOW_SUDO=0
|
||||||
|
|
||||||
if [[ $# -ge 1 ]]; then
|
if [[ $# -ge 1 ]]; then
|
||||||
ACTION="$1"
|
ACTION="$1"
|
||||||
|
|
Loading…
Reference in a new issue