WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix typos in xendomains script.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix typos in xendomains script.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 04:10:11 -0800
Delivery-date: Wed, 18 Feb 2009 04:09:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1234868648 0
# Node ID cb8ece5d764755e7f6fd4698a84d8e24f1d946b3
# Parent  6630f99dfc01e4fe6459d596d4c3dc5dbb46a1cc
Fix typos in xendomains script.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/hotplug/Linux/init.d/xendomains |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff -r 6630f99dfc01 -r cb8ece5d7647 tools/hotplug/Linux/init.d/xendomains
--- a/tools/hotplug/Linux/init.d/xendomains     Tue Feb 17 11:01:05 2009 +0000
+++ b/tools/hotplug/Linux/init.d/xendomains     Tue Feb 17 11:04:08 2009 +0000
@@ -233,7 +233,7 @@ start()
                     XMR=`xm restore $dom 2>&1 1>/dev/null`
                     #xm restore $dom
                     if [ $? -ne 0 ]; then
-                       echo -e "\nAn error occured while restoring domain 
${dom##*/}:\n$XMR"
+                        echo -e "\nAn error occurred while restoring domain 
${dom##*/}:\n$XMR"
                         rc_failed $?
                         echo -e '!'
                     else
@@ -267,8 +267,8 @@ start()
                echo -n "(skip)"
            else
                XMC=`xm create --quiet --defconfig $dom`
-               if [ $? -ne 0 ]; then
-                    echo -e "\nAn error occured while creating domain 
${dom##*/}: $XMC\n"
+               if [ $? -ne 0 ]; then
+                   echo -e "\nAn error occurred while creating domain 
${dom##*/}: $XMC\n"
                    rc_failed $?
                    echo -e '!'
                else
@@ -357,7 +357,7 @@ stop()
                echo -n "(SR-$sysrq)"
                XMR=`xm sysrq $id $sysrq 2>&1 1>/dev/null`
                if test $? -ne 0; then
-                    echo -e "\nAn error occured while doing sysrq on 
domain:\n$XMR\n"
+                   echo -e "\nAn error occurred while doing sysrq on 
domain:\n$XMR\n"
                    rc_failed $?
                    echo -n '!'
                fi
@@ -375,7 +375,7 @@ stop()
            WDOG_PID=$!
            XMR=`xm migrate $id $XENDOMAINS_MIGRATE 2>&1 1>/dev/null`
            if test $? -ne 0; then
-                echo -e "\nAn error occured while migrating domain:\n$XMR\n"
+               echo -e "\nAn error occurred while migrating domain:\n$XMR\n"
                rc_failed $?
                echo -e '!'
 
@@ -395,7 +395,7 @@ stop()
            mkdir -p "$XENDOMAINS_SAVE"
            XMR=`xm save $id $XENDOMAINS_SAVE/$name 2>&1 1>/dev/null`
            if test $? -ne 0; then
-                echo -e "\nAn error occured while saving domain:\n$XMR\n"
+               echo -e "\nAn error occurred while saving domain:\n$XMR\n"
                rc_failed $?
                echo -e '!'
                kill $WDOG_PID >/dev/null 2>&1
@@ -413,7 +413,7 @@ stop()
            WDOG_PID=$!
            XMR=`xm shutdown $id $XENDOMAINS_SHUTDOWN 2>&1 1>/dev/null`
            if test $? -ne 0; then
-                echo -e "\nAn error occured while shutting down 
domain:\n$XMR\n"
+               echo -e "\nAn error occurred while shutting down 
domain:\n$XMR\n"
                rc_failed $?
                echo -e '!'
            fi
@@ -432,7 +432,7 @@ stop()
        WDOG_PID=$!
        XMR=`xm shutdown $XENDOMAINS_SHUTDOWN_ALL 2>&1 1>/dev/null`
        if test $? -ne 0; then
-            echo -e "\nAn error occured while shutting down all domains: 
$XMR\n"
+           echo -e "\nAn error occurred while shutting down all domains: 
$XMR\n"
            rc_failed $?
            echo -e '!'
        fi

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix typos in xendomains script., Xen patchbot-unstable <=