mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
return only once
for consistency with the build() function.
This commit is contained in:
parent
e39ad715d8
commit
2ac3ba8d2a
@ -1433,7 +1433,6 @@ def build(path=None,
|
||||
comment='Unexpected error while building an image')
|
||||
else:
|
||||
invalid(status, comment='`path` or `fileobj` must be given')
|
||||
return status
|
||||
return status
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user