1
0
mirror of synced 2026-04-13 23:23:41 +00:00

Fix missing quoting in shell function "assert" in hooks/common.sh

This commit is contained in:
Axel Beckert
2014-09-25 23:15:51 +02:00
parent 414d67c624
commit 71e5ad4345
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -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.

View File

@@ -47,7 +47,7 @@ assert ()
shift
fi
if [ ! $* ] ; then
if [ ! "$*" ] ; then
echo "assert failed: $0:$lineno [$*]"
exit
fi