diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-06-24 02:49:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-06-24 02:49:12 +0000 |
commit | e5e56cdc77c283b86ddba0b59e78d3bcb9c74e9c (patch) | |
tree | d0fb6ea11d96b77c5aec3cfc4d69701599f5e475 /gpsfake | |
parent | 8a1892ca51652cdb604af75885e90063bf1ba960 (diff) | |
download | gpsd-e5e56cdc77c283b86ddba0b59e78d3bcb9c74e9c.tar.gz |
Correct the arguments to gpsfake's daemon invocation.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,7 +95,7 @@ child = os.fork() if child: # Parent side try: - daemon.spawn(doptions, monitor) + daemon.spawn(doptions, prefix=monitor, background=False) except OSError: sys.stderr.write("gpsfake: '%s' failed.\n" % daemon.spawncmd) os.kill(child, signal.SIGTERM) @@ -106,7 +106,7 @@ else: # Child side -- wait for daemon to make pidfile so we know it's running daemon.wait_pid() if not pipe or verbose: - sys.stderr.write("gpsfake: '%s' launch OK.\n" % daemon.spawncmd) + sys.stderr.write("gpsfake: daemon launch OK.\n") try: daemon.add_device(fakegps.slave) if pipe: |