From 22b7c0ab32a6f7f44711a35749928ca0595d767a Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 2 Aug 2012 06:54:50 +0000 Subject: [PATCH] Modify the return value of resetnet. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCcfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCcfg.pm b/perl-xCAT/xCAT/PPCcfg.pm index 56f98164a..31bf3e56a 100644 --- a/perl-xCAT/xCAT/PPCcfg.pm +++ b/perl-xCAT/xCAT/PPCcfg.pm @@ -659,7 +659,7 @@ sub hostname { sub resetnet { my $request = shift; doresetnet($request); - exit(0); + return 0; } ########################################################################## # Reset the network interfraces if necessary