From 91ae5f3edd1f95b9023d3fed90fb98ec0849d541 Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 2 Aug 2012 06:55:34 +0000 Subject: [PATCH] Modify the return value of resetnet. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13399 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