Fix missing quoting in shell function "assert" in hooks/common.sh
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -17,6 +17,7 @@ xen-tools (4.4+dev-1) UNRELEASED; urgency=low
|
||||
+ pygrub detection: Prefer /usr/lib/xen-default over /usr/lib/xen-x.y.
|
||||
+ Fix lvcreate awaiting user input when creating swap lv (Closes: #754517)
|
||||
Thanks Eric Engstrom!
|
||||
+ Fix missing quoting in shell function "assert" in hooks/common.sh.
|
||||
* Bump Standards-Version to 3.9.6 (no changes needed)
|
||||
* Fix lintian warning depends-on-perl-modules.
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ assert ()
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ ! $* ] ; then
|
||||
if [ ! "$*" ] ; then
|
||||
echo "assert failed: $0:$lineno [$*]"
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user