summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-13 13:45:35 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-13 13:52:40 -0500
commit7aad17185df5019c8ba5f0783e47c620d4fadb3e (patch)
tree830f58eb4c4afc845880bdd381ee1ce4753466d6 /gpsfake
parent9b4f66c34dd196246ec8eeab9b4da7bf608fcf36 (diff)
downloadgpsd-7aad17185df5019c8ba5f0783e47c620d4fadb3e.tar.gz
gpsfake code fell out of sync with documentation. Fix this.
All regression tests pass.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index a6792515..3abcf639 100755
--- a/gpsfake
+++ b/gpsfake
@@ -178,7 +178,7 @@ if __name__ == '__main__':
print >>sys.stderr, "Processing %s" % ",".join(arguments)
# Don't allocate a private port when cycling logs for client testing.
- if port is None and not singleshot:
+ if port is None and not pipe:
port = gps.GPSD_PORT
test = gpsfake.TestSession(prefix=monitor, port=port, options=doptions,