composer-cli: Add osbuild-composer to connection failure message
This commit is contained in:
parent
f5de2de821
commit
4b1a4f8f16
@ -82,8 +82,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# Check to see if the socket exists and can be accessed
|
# Check to see if the socket exists and can be accessed
|
||||||
if not os.access(opts.socket, os.R_OK|os.W_OK):
|
if not os.access(opts.socket, os.R_OK|os.W_OK):
|
||||||
errors.append("Cannot access '%s'. Is lorax-composer running and "
|
errors.append("Cannot access '%s'. Is a WELDR API server (lorax-composer or "
|
||||||
"this user allowed to access it?" % opts.socket)
|
"osbuild-composer) running, and is this user allowed to access it?" % opts.socket)
|
||||||
|
|
||||||
# No point in continuing if there are errors
|
# No point in continuing if there are errors
|
||||||
if errors:
|
if errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user