summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-04-22 15:13:45 +0200
committermakefu <root@pigstarter.de>2013-04-22 15:13:45 +0200
commitfbf5e446a47132684bdaa616ce2cb72c44543b50 (patch)
treef2574761cf810520ce4ae837d06824108a3975c2
parentca838100b7be7661ee13e5bae704aed59780c10b (diff)
fix bug in new_install
-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 9d478714..db154877 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
- $((LCOUNTER+=1))
+ : $((LCOUNTER+=1))
TSTFILE=$TEMPDIR/hosts/$1$LCOUNTER
done
HOSTN=$1$LCOUNTER