]> git.meshlink.io Git - catta/commitdiff
* revert half of a fix Sebastien did some time ago
authorLennart Poettering <lennart@poettering.net>
Sat, 6 Aug 2005 00:25:27 +0000 (00:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 6 Aug 2005 00:25:27 +0000 (00:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@242 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/avahi-publish-service.in

index 89c1566195dd875bf527fce7c014042039209656..3000ea988279ec5cccb98bf0d536b4dfb6bfc5dc 100755 (executable)
@@ -42,7 +42,7 @@ def usage(retval = 0):
 try:
     opts, args = getopt.getopt(sys.argv[1:], "d:H:", ["help", "domain=", "host="])
 except getopt.GetoptError:
-    pass
+    usage(2)
 
 domain = ""
 host = ""