From ad8ab9cb559fa385d64cf4d9a83e37500c995d1d Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Mon, 26 Sep 2016 15:35:19 -0400 Subject: [PATCH] Remove RC for each probe step --- xCAT-probe/subcmds/osimagecheck | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT-probe/subcmds/osimagecheck b/xCAT-probe/subcmds/osimagecheck index 00f3cfcaf..eafaf5c67 100755 --- a/xCAT-probe/subcmds/osimagecheck +++ b/xCAT-probe/subcmds/osimagecheck @@ -19,7 +19,6 @@ my $test; my $output = "stdout"; my $verbose = 0; my $rst = 0; -my $rc = 0; $::USAGE = "Usage: $program_name -h @@ -70,9 +69,8 @@ if (scalar(@ARGV) >= 1) { } # Run all osinage probe checks one after another -$rc = check_for_duplicate_rootimgdir(); -$rc = check_for_valid_osimage_attributes(); -exit $rc; +check_for_duplicate_rootimgdir(); +check_for_valid_osimage_attributes(); # Check for osimage definitions with duplicate values for rootimgdir sub check_for_duplicate_rootimgdir {