summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-18 12:25:36 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-18 12:25:36 -0400
commit14ee1b05f4bc5772b7f137a01b52f6b241ccb147 (patch)
tree20181ed016399946f166e2b94cd1acbe5f28d98e /devtools
parenteacc9fe4287176ec77909c855f4eaa720f145fcf (diff)
downloadgpsd-14ee1b05f4bc5772b7f137a01b52f6b241ccb147.tar.gz
Duh...actually set the right variable.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/flocktest4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/flocktest b/devtools/flocktest
index f9b472d8..fc619f2a 100755
--- a/devtools/flocktest
+++ b/devtools/flocktest
@@ -59,9 +59,9 @@ done
# hostname without options gives the FQDN.
if hostname -f >/dev/null 2>&1
then
- hostname=`hostname -f`
+ site=`hostname -f`
else
- hostname=`hostname`
+ site=`hostname`
fi
if [ -f "flockdriver.lock" ]