From 71e5ad43450c6eac2d6457bfb1f31aad7c51c02c Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Thu, 25 Sep 2014 23:15:51 +0200 Subject: [PATCH] Fix missing quoting in shell function "assert" in hooks/common.sh --- debian/changelog | 1 + hooks/common.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6fc1dbc..3bf2738 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. diff --git a/hooks/common.sh b/hooks/common.sh index 86fc636..d1a6a4a 100755 --- a/hooks/common.sh +++ b/hooks/common.sh @@ -47,7 +47,7 @@ assert () shift fi - if [ ! $* ] ; then + if [ ! "$*" ] ; then echo "assert failed: $0:$lineno [$*]" exit fi