fix shellcheck warnings.

This commit is contained in:
neilpang
2016-11-12 00:06:34 +08:00
parent efd96153d8
commit e9f9f515bd
6 changed files with 15 additions and 17 deletions

View File

@@ -85,8 +85,8 @@ _get_root() {
_domain="$h"
return 0
fi
p=$i
i=$(expr $i + 1)
p="$i"
i=$(_math "$i" + 1)
done
return 1
}