clean_loops can't be called multiple times with set -u

Bug #1776706 reported by Dan Watkins on 2018-06-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Undecided
Dan Watkins
Xenial
Undecided
Unassigned
Bionic
Undecided
Unassigned

Bug Description

In live-build/functions, clean_loops calls `unset backing_img`; if you call clean_loops again, the "if [ -n "${backing_img}" ]; then" line then causes the script to exit if you're running with `set -u`.

Dan Watkins (oddbloke) on 2018-06-13
Changed in livecd-rootfs (Ubuntu):
assignee: nobody → Dan Watkins (daniel-thewatkins)
status: New → In Progress
Changed in livecd-rootfs (Ubuntu Xenial):
assignee: nobody → Airton José Linhares (airares559)
status: New → In Progress
Changed in livecd-rootfs (Ubuntu Xenial):
assignee: Airton José Linhares (airares559) → nobody
status: In Progress → Invalid
Dan Watkins (oddbloke) on 2018-12-03
Changed in livecd-rootfs (Ubuntu Xenial):
status: Invalid → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers