lib/repo-finder-mount: Fix propagating NULL errors
authorPhilip Withnall <withnall@endlessm.com>
Tue, 24 Oct 2017 14:26:49 +0000 (15:26 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 24 Oct 2017 16:59:54 +0000 (16:59 +0000)
commit886a5d79280b92d336a4eecc9da287fa8b697542
tree76a9035947389567d49d4ca7c77c5aee4407972e
parentb11d1aa3f2bec975982fc4e1d9f690f785f493f4
lib/repo-finder-mount: Fix propagating NULL errors

These two code paths tried to propagate errors which had never been set.
Set new errors instead.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1303
Approved by: cgwalters
src/libostree/ostree-repo-finder-mount.c