gpsd: fix gpsd init script
authorJohan Hovold <johan.hovold@lundinova.se>
Wed, 18 Apr 2012 11:27:01 +0000 (11:27 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:20:15 +0000 (08:20 -0800)
commita2995a9b1c2339387c5fea938ece59ebb084f44b
tree4e831a7471d187afa68eec7223e952eca3776c94
parentc3761e248b29fe894010a7760c64a70c776d335d
gpsd: fix gpsd init script

Replace return with exit where appropriate.

Current init script uses return outside of functions resulting in
warnings such as the following when using bash as interpreter:

/etc/init.d/gpsd: line 98: return: can only `return' from a function or sourced script

(From meta-openembedded rev: d96d51e1eb4c086db781eb89b17d3b4ddbac7d13)

Signed-off-by: Johan Hovold <johan.hovold@lundinova.se>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd-2.96/gpsd
meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb