admserv/newinst/src/AdminServer.pm.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81f194a1f6ae1e3f658832081844b2908b2dd0ee
Author: Rich Megginson <rmeggins(a)redhat.com>
Date: Fri Jul 1 07:34:52 2011 -0600
Bug 713000 - Migration stops if old admin server cannot be stopped
https://bugzilla.redhat.com/show_bug.cgi?id=713000
Resolves: bug 713000
Bug Description: Migration stops if old admin server cannot be stopped
Reviewed by: nkinder (Thanks!)
Branch: master
Fix Description: If the admin server could not be stopped, just assume
it is not running and return a success code.
Platforms tested: Fedora 15 x86_64
Flag Day: no
Doc impact: no
diff --git a/admserv/newinst/src/AdminServer.pm.in
b/admserv/newinst/src/AdminServer.pm.in
index 2056aa3..72d8529 100644
--- a/admserv/newinst/src/AdminServer.pm.in
+++ b/admserv/newinst/src/AdminServer.pm.in
@@ -582,7 +582,7 @@ sub stopAdminServer {
if ($status) {
# Ignore the stop failure
debug(1,"Warning: Could not stop admin server: status $status: output
$output\n");
- return 0;
+ return 1;
}
} else {
debug(1, "stopping admin server: no such program $prog: cannot stop
server\n");