mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
auto/config: Emit error message to stderr in _sanitize_passes.
This commit is contained in:
parent
ed38882219
commit
31937f1a4d
1
debian/changelog
vendored
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…
x
Reference in New Issue
Block a user