diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-25 14:34:10 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-25 14:34:10 -0800 |
commit | e95c589fc2782077915b0c388eef340b14c4de80 (patch) | |
tree | e426b03b26a5cd4d67dd5837240330ed4afab2c0 /templates/firewall/ipv6-name | |
parent | b40f9494b98f625c8725f1d40af1983fe44a91e7 (diff) | |
download | vyatta-cfg-firewall-e95c589fc2782077915b0c388eef340b14c4de80.tar.gz vyatta-cfg-firewall-e95c589fc2782077915b0c388eef340b14c4de80.zip |
Use single quote around $VAR(@).
Diffstat (limited to 'templates/firewall/ipv6-name')
-rw-r--r-- | templates/firewall/ipv6-name/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/firewall/ipv6-name/node.def b/templates/firewall/ipv6-name/node.def index 7a6dd1b..e90b049 100644 --- a/templates/firewall/ipv6-name/node.def +++ b/templates/firewall/ipv6-name/node.def @@ -3,7 +3,7 @@ tag: type: txt syntax:expression: exec " \ - if [ `echo -n $VAR(@) | wc -c` -gt 29 ]; then \ + if [ `echo -n '$VAR(@)' | wc -c` -gt 29 ]; then \ echo firewall ipv6-name must be 29 characters or less; \ exit 1 ; \ fi ; " |