2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Remove trailing spaces in file xCAT-server/lib/xcat/plugins/copycds.pm

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 2b19f2aad1
commit 908f4ba60f

View File

@ -172,12 +172,12 @@ sub process_request {
if ($path)
{
if(-e $path) {
$path=Cwd::realpath($path);
}
unless((substr($path,0,length("/install/")) eq "/install/") or ($path eq "/install")){
$callback->({ warning => "copycds: the specified path \"$path\" is not a subdirectory under /install. Make sure this path is configured for httpd/apache, otherwise, the provisioning with this iso will fail!" });
$callback->({ warning => "copycds: the specified path \"$path\" is not a subdirectory under /install. Make sure this path is configured for httpd/apache, otherwise, the provisioning with this iso will fail!" });
}
push @{ $newreq->{arg} }, ("-p", $path);
}