auto/config: Emit error message to stderr in _sanitize_passes.

default-compat
Michael Hudson-Doyle 3 years ago
parent ed38882219
commit 31937f1a4d

1
debian/changelog vendored

@ -2,6 +2,7 @@ livecd-rootfs (2.765) UNRELEASED; urgency=medium
* auto/config: preserve germinate-output directory when removing config to
speed up local iteration.
* auto/config: Emit error message to stderr in _sanitize_passes.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 24 May 2022 12:42:10 +1200

@ -305,7 +305,7 @@ _sanitize_passes ()
# if root pass, no parent to find
[ -z "$parent" ] && continue
if [ $(echo "$passes"|grep -cE "^$parent\$") -ne 1 ]; then
echo "ERROR: '$parent' is required by '$pass' but is missing. Registered passes are:\n$passes"
echo "ERROR: '$parent' is required by '$pass' but is missing. Registered passes are:\n$passes" >&2
exit 1
fi
done

Loading…
Cancel
Save