diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2009-07-29 17:36:31 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-07-30 12:24:41 -0400 |
commit | 525d516df94b7c044cd97de27b6924d188ed4048 (patch) | |
tree | d3b0ea52cf800b61d647907b4263e55874fec616 /sysconfig/network-scripts/network-functions-ipv6 | |
parent | 1096cd2ebc150e5c74b5e8e4016b835f34cd3f48 (diff) | |
download | initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.gz initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.bz2 initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.xz initscripts-525d516df94b7c044cd97de27b6924d188ed4048.zip |
Use $(( )) for arithmetic statements instead of let or $[ ].
Diffstat (limited to 'sysconfig/network-scripts/network-functions-ipv6')
-rw-r--r-- | sysconfig/network-scripts/network-functions-ipv6 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index d56d7436..91329ff2 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -44,7 +44,7 @@ ipv6_log() { case $t in 'stdout'|'stderr'|'syslog') local channel="$t" - local fn=$[ $fn + 1 ] + local fn=$(($fn + 1)) ;; *) local channel="stdout" @@ -58,7 +58,7 @@ ipv6_log() { case $t in 'local0'|'local1'|'local2'|'local3'|'local4'|'local5'|'local6'|'local7'|'daemon') local facility="$t" - local fn=$[ $fn + 1 ] + local fn=$(($fn + 1)) ;; *) local facility="user" @@ -80,7 +80,7 @@ ipv6_log() { case $t in 'info'|'debug'|'notice'|'warn'|'err'|'crit') local priority="$t" - local fn=$[ $fn + 1 ] + local fn=$(($fn + 1)) ;; *) local priority="notice" |