summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name <you@example.com>2013-04-22 15:11:25 +0200
committerYour Name <you@example.com>2013-04-22 15:11:25 +0200
commitab9954b0418e7473debd7fd311ed0c86bd599d59 (patch)
treefb89c21c9b50a00e7558058d759292f05c2bacf9
parent7477ce7e871a48a597b2e7d21561bb1d6fb4466b (diff)
parentca838100b7be7661ee13e5bae704aed59780c10b (diff)
Merge branch 'master' of https://github.com/krebscode/painload
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index 1ff42e54..9d478714 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -93,7 +93,7 @@ get_hostname()
LCOUNTER=0
if test -e $TSTFILE; then
while test -e $TSTFILE; do
- let LCOUNTER=LCOUNTER+1
+ $((LCOUNTER+=1))
TSTFILE=$TEMPDIR/hosts/$1$LCOUNTER
done
HOSTN=$1$LCOUNTER