From a31a7ad78da1d1d1a086e9df377951bd932364f1 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 4 Sep 2012 14:15:55 +0000 Subject: [PATCH] Fix iso with space git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/copycds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/copycds.pm b/xCAT-server/lib/xcat/plugins/copycds.pm index 6eea65f75..b43309648 100644 --- a/xCAT-server/lib/xcat/plugins/copycds.pm +++ b/xCAT-server/lib/xcat/plugins/copycds.pm @@ -99,7 +99,7 @@ sub process_request { mkdir "/mnt/xcat"; - if (system("mount $mntopts $file /mnt/xcat")) { + if (system("mount $mntopts '$file' /mnt/xcat")) { $callback->({error=>"copycds was unable to mount $file to /mnt/xcat.",errorcode=>[1]}); return; }