[packages/xen] another syntax fix in xendomains.init
jajcus
jajcus at pld-linux.org
Sat Nov 17 20:38:10 CET 2012
commit 8448d7630f342c07282c4f2c6de8980c53e87fe1
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 17 20:37:56 2012 +0100
another syntax fix in xendomains.init
xendomains.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xendomains.init b/xendomains.init
index 1ecefe9..494e013 100644
--- a/xendomains.init
+++ b/xendomains.init
@@ -113,7 +113,7 @@ start() {
for dom in $XENDOMAINS_SAVE/*; do
if [ -f $dom ] ; then
HEADER=`head -c 16 $dom | head -n 1 2> /dev/null`
- if [ $HEADER = "LinuxGuestRecord" ]; then
+ if [ "$HEADER" = "LinuxGuestRecord" ]; then
echo -n " ${dom##*/}"
XMR=`$CMD restore $dom 2>&1 1>/dev/null`
#$CMD restore $dom
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/8448d7630f342c07282c4f2c6de8980c53e87fe1
More information about the pld-cvs-commit
mailing list