summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-06 00:25:27 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-06 00:25:27 +0000
commit280e0fa69dc03706a24bf7128422443cb37d08ab (patch)
tree4138499f47b985bac4635fed6463fc71037aa140
parentdf686f9a488c3854c425c2a501a342cb438c54f8 (diff)
* revert half of a fix Sebastien did some time ago
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@242 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rwxr-xr-xavahi-utils/avahi-publish-service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-utils/avahi-publish-service.in b/avahi-utils/avahi-publish-service.in
index 89c1566..3000ea9 100755
--- a/avahi-utils/avahi-publish-service.in
+++ b/avahi-utils/avahi-publish-service.in
@@ -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 = ""