summaryrefslogtreecommitdiff
path: root/gpsd.hotplug
diff options
context:
space:
mode:
authorBernd Zeimetz <bernd@bzed.de>2009-11-18 16:29:14 +0000
committerBernd Zeimetz <bernd@bzed.de>2009-11-18 16:29:14 +0000
commit9d08263c78ee2a07184e9e1f38b6479afae80671 (patch)
tree121b32a88f36305c2e927ef0c2e51a2c26f4259e /gpsd.hotplug
parent19e2ebec6c0ce235f7fc93055b655d06cca004d8 (diff)
downloadgpsd-9d08263c78ee2a07184e9e1f38b6479afae80671.tar.gz
A missing % in gpsd.hotplug caused USB autostart to fail.
Thanks to Luca Niccoli for reporting Debian Bug #556954.
Diffstat (limited to 'gpsd.hotplug')
-rwxr-xr-xgpsd.hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.hotplug b/gpsd.hotplug
index cc575a18..f8823798 100755
--- a/gpsd.hotplug
+++ b/gpsd.hotplug
@@ -35,7 +35,7 @@ def gpsd_control(action, argument):
if connect:
syslog.syslog("reached a running gpsd")
elif action == 'add':
- gpsdcmd = "gpsd %s -F %s" (GPSD_OPTIONS, CONTROL_SOCKET)
+ gpsdcmd = "gpsd %s -F %s" % (GPSD_OPTIONS, CONTROL_SOCKET)
syslog.syslog("launching %s" % gpsdcmd)
os.system(gpsdcmd)
connect = gpsd_control_connect()