mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-14 14:16:39 +00:00
nicer error
This commit is contained in:
parent
b0d48ddbc9
commit
6b791cb3b5
@ -121,7 +121,11 @@ def add_grid_manager_cert(options):
|
||||
cert_name = options['name']
|
||||
|
||||
if exists(cert_path):
|
||||
print("Already have file '{}'".format(cert_path), file=options.parent.parent.stderr)
|
||||
msg = "Already have certificate for '{}' (at {})".format(
|
||||
options['name'],
|
||||
cert_path,
|
||||
)
|
||||
print(msg, file=options.parent.parent.stderr)
|
||||
return 1
|
||||
|
||||
config.set_config("storage", "grid_management", "True")
|
||||
|
Loading…
x
Reference in New Issue
Block a user