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

Bug #1776706 reported by Dan Watkins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
In Progress
Undecided
Dan Watkins
Xenial
New
Undecided
Unassigned
Bionic
New
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)
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)
Changed in livecd-rootfs (Ubuntu Xenial):
status: Invalid → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.