mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-01 21:21:42 +00:00
Fix suppression of kpartx error. LP: #1684090.
This commit is contained in:
parent
af5510caf9
commit
91bde498cb
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -5,6 +5,9 @@ livecd-rootfs (2.441.5) UNRELEASED; urgency=medium
|
|||||||
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
|
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
|
||||||
LXD). LP: #1716465.
|
LXD). LP: #1716465.
|
||||||
|
|
||||||
|
[ Balint Reczey ]
|
||||||
|
* Fix suppression of kpartx error. LP: #1684090.
|
||||||
|
|
||||||
-- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Sep 2017 11:47:53 -0700
|
-- Steve Langasek <steve.langasek@ubuntu.com> Mon, 11 Sep 2017 11:47:53 -0700
|
||||||
|
|
||||||
livecd-rootfs (2.441.4) zesty; urgency=medium
|
livecd-rootfs (2.441.4) zesty; urgency=medium
|
||||||
|
@ -21,7 +21,7 @@ clean_loops() {
|
|||||||
kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?
|
kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?
|
||||||
echo "$kpartx_stdout"
|
echo "$kpartx_stdout"
|
||||||
if [ -n "$kpartx_ret" ]; then
|
if [ -n "$kpartx_ret" ]; then
|
||||||
if echo "$kpartx_stdout" | grep -q "loop deleted: "; then
|
if echo "$kpartx_stdout" | grep -q "loop deleted"; then
|
||||||
echo "Suppressing kpartx returning error (#860894)"
|
echo "Suppressing kpartx returning error (#860894)"
|
||||||
else
|
else
|
||||||
exit $kpartx_ret
|
exit $kpartx_ret
|
||||||
|
Loading…
x
Reference in New Issue
Block a user