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)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 17 Oct 2017 06:58:22 +0000 (06:58 +0000)
commit464965e6b4897f9c6d4487ca10eb5bc60ad9a670
tree0a08741dac1d0e47a7831a1ffaea07d649e08e81
parente744f2ad6f620c2d0a5d178cb6115625090ab3e4
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
src/libostree/ostree-sysroot.c