From a04b973af7ed88bd05730574be9cdc45351b89b0 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Mon, 26 Sep 2016 15:33:47 -0400 Subject: [PATCH] Remove RC for each probe step --- xCAT-probe/subcmds/nodecheck | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT-probe/subcmds/nodecheck b/xCAT-probe/subcmds/nodecheck index f763530c1..bd198b4d0 100755 --- a/xCAT-probe/subcmds/nodecheck +++ b/xCAT-probe/subcmds/nodecheck @@ -19,7 +19,6 @@ my $test; my $output = "stdout"; my $verbose = 0; my $rst = 0; -my $rc = 0; # Match pattern for discovered nodes: node-1234-ABCDE-123456 # node- d+ -[a-z]- d+ @@ -78,9 +77,8 @@ if (scalar(@ARGV) >= 1) { exit 1; } -$rc = check_for_duplicate_mtms_sn(); -$rc = check_for_valid_node_attributes(); -exit $rc; +check_for_duplicate_mtms_sn(); +check_for_valid_node_attributes(); # Check for node definitions with duplicate MTM+SERIAL sub check_for_duplicate_mtms_sn {