mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-18 09:10:49 +00:00
fixed missing bracket in awk command
This commit is contained in:
parent
22033aaea5
commit
b4eba95759
@ -351,7 +351,7 @@ case ${cmd} in
|
||||
fi
|
||||
;;
|
||||
get-nat)
|
||||
NAT=$(grep ^NAT $HELPERCFG 2> /dev/null | awk '{print $2')
|
||||
NAT=$(grep ^NAT $HELPERCFG 2> /dev/null | awk '{print $2}')
|
||||
[ -z "${NAT}" ] && NAT="unknown"
|
||||
echo ${NAT}
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user