diff options
author | Valentin Rothberg <vrothberg@suse.com> | 2018-10-29 15:11:46 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@suse.com> | 2018-10-29 15:46:54 +0100 |
commit | 079208cdbc51dd84c06282a84a637ea088b7deb2 (patch) | |
tree | 8dc3a895d504b4e4dcafc743a41001fd5066b908 /Makefile | |
parent | aef9d56ae20e34447a69e19613629b8281a78502 (diff) | |
download | podman-079208cdbc51dd84c06282a84a637ea088b7deb2.tar.gz podman-079208cdbc51dd84c06282a84a637ea088b7deb2.tar.bz2 podman-079208cdbc51dd84c06282a84a637ea088b7deb2.zip |
unmount: fix error logic
Only return `ErrCtrStateInvalid` errors when the mount counter is equal
to 1. Also fix the "can't unmount [...] last mount[..]" error which
hasn't been returned when the error passed to `errors.Errorf()` is nil.
Fixes: #1695
Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions