Revision f93427cd daemons/ganeti-confd
b/daemons/ganeti-confd | ||
---|---|---|
329 | 329 |
"""Initial checks whether to run exit with a failure. |
330 | 330 |
|
331 | 331 |
""" |
332 |
if args: # confd doesn't take any arguments |
|
333 |
print >> sys.stderr, ("Usage: %s [-f] [-d] [-b ADDRESS]" % sys.argv[0]) |
|
334 |
sys.exit(constants.EXIT_FAILURE) |
|
335 |
|
|
332 | 336 |
# TODO: collapse HMAC daemons handling in daemons GenericMain, when we'll |
333 | 337 |
# have more than one. |
334 | 338 |
if not os.path.isfile(constants.HMAC_CLUSTER_KEY): |
Also available in: Unified diff