lib/sysroot: Fix error handling when mounting overlayfs fails
authorColin Walters <walters@verbum.org>
Mon, 16 Oct 2017 19:29:38 +0000 (15:29 -0400)
committerSimon McVittie <smcv@debian.org>
Thu, 26 Oct 2017 23:19:45 +0000 (00:19 +0100)
commitcb5779b2e0409f08b59df9ec87dce3f732e3e351
tree92e12a6221a2c146db4e7f6f8a57606685a52e88
parent4eac3b71aebdf74ad46a4d5b5eeb881b201ecca4
lib/sysroot: Fix error handling when mounting overlayfs fails

This isn't perfect, but at least we fix an error-overwrite error, and in
practice `ostree admin unlock` isn't wrapped by `rpm-ostree` yet, so spew to
stderr is OK.

Closes: https://github.com/ostreedev/ostree/issues/1273
Closes: #1279
Approved by: guyshapiro
Origin: upstream, 2017.13, commit:464965e6b4897f9c6d4487ca10eb5bc60ad9a670

Gbp-Pq: Topic 2017.13
Gbp-Pq: Name lib-sysroot-Fix-error-handling-when-mounting-overlayfs-fa.patch
src/libostree/ostree-sysroot.c