diff options
-rw-r--r-- | rc.inet1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ lo_down() { # Function to determine if virtual interfaces are defined virtif_determine() { if [ ! -z ${VIRTIFNAME} ]; then - virtifcount=$(expr $(echo ${VIRTIFNAME[@]} | wc -w) - 1) + virtifcount=$(($(echo ${VIRTIFNAME[@]} | wc -w) - 1)) else return 1 fi |