mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 05:25:32 +00:00
Merge pull request #2031 from penguhyang/xcattest_warning
fix execute xcattest related command there are error message
This commit is contained in:
@ -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 (<INCLUDE>) {
|
||||
chomp($_);
|
||||
s/\s+$//; #remove trailing spaces
|
||||
|
Reference in New Issue
Block a user