Skip to content

Commit

Permalink
Merge pull request #186 from TomasTomecek/fix-179
Browse files Browse the repository at this point in the history
put output of atomic [un,]mount to logger, not colin's stdout
  • Loading branch information
TomasTomecek authored Sep 19, 2018
2 parents f1e830c + c9415f7 commit 2cfbe63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colin/core/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,11 @@ def _run_and_log(cmd, ostree_repo_path, error_msg, wd=None):
if wd:
kwargs["cwd"] = wd
try:
subprocess.check_call(cmd, **kwargs)
out = subprocess.check_output(cmd, **kwargs)
except subprocess.CalledProcessError:
logger.error(error_msg)
raise
logger.debug("%s", out)

@property
def config_metadata(self):
Expand Down

0 comments on commit 2cfbe63

Please sign in to comment.