From b2132fd4db3cff67d0e508337924e23012c5ed89 Mon Sep 17 00:00:00 2001 From: penguhyang Date: Tue, 25 Oct 2016 21:36:05 -0400 Subject: [PATCH] fix execute xcattest related command there are error message --- xCAT-test/xcattest | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index e26230cef..7e35a5149 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -216,8 +216,7 @@ sub include_file unless ($file =~ /^\//) { $file = $idir . "/" . $file; } - open(INCLUDE, $file) || \ - return "#INCLUDEBAD:cannot open $file#"; + open(INCLUDE, $file) || return "#INCLUDEBAD:cannot open $file#"; while () { chomp($_); s/\s+$//; #remove trailing spaces