[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.0.3-testing] [TOOLS] Fix xendomains init.d script DOG PIG confusion.



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Date 1159525525 -3600
# Node ID e229687561cff6d4daa0548c746c07e549bbc0ca
# Parent  9eb80d41c72416807252b1cdfe38c44d2c4d626e
[TOOLS] Fix xendomains init.d script DOG PIG confusion.

Fix typos in xendomains where we actually mean WDOG_PID.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=754

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/examples/init.d/xendomains |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -r 9eb80d41c724 -r e229687561cf tools/examples/init.d/xendomains
--- a/tools/examples/init.d/xendomains  Fri Sep 29 11:28:04 2006 +0100
+++ b/tools/examples/init.d/xendomains  Fri Sep 29 11:25:25 2006 +0100
@@ -352,9 +352,9 @@ stop()
            if test $? -ne 0; then
                rc_failed $?
                echo -n '!'
-               kill $WDOG_PIG >/dev/null 2>&1
-           else
-               kill $WDOG_PIG >/dev/null 2>&1
+               kill $WDOG_PID >/dev/null 2>&1
+           else
+               kill $WDOG_PID >/dev/null 2>&1
                continue
            fi
        fi
@@ -368,7 +368,7 @@ stop()
                rc_failed $?
                echo -n '!'
            fi
-           kill $WDOG_PIG >/dev/null 2>&1
+           kill $WDOG_PID >/dev/null 2>&1
        fi
     done < <(xm list | grep -v '^Name')
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.