set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-10-17 08:34:33 +00:00
parent a5df689b7d
commit 648140c6ad
3 changed files with 6 additions and 6 deletions

View File

@ -294,9 +294,9 @@ sub copycd
foreach(@cpiopid){
kill 2, $_;
}
if ($mntpath) {
if ($path) {
chdir("/");
system("umount $mntpath");
system("umount $path");
}
};
my $kid;

View File

@ -4210,9 +4210,9 @@ sub copycd {
foreach(@cpiopid){
kill 2, $_;
}
if ($mntpath) {
if ($path) {
chdir("/");
system("umount $mntpath");
system("umount $path");
}
};
my $KID;

View File

@ -560,9 +560,9 @@ sub copycd
foreach(@cpiopid){
kill 2, $_;
}
if ($mntpath) {
if ($path) {
chdir("/");
system("umount $mntpath");
system("umount $path");
}
};
my $kid;