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:
parent
a5df689b7d
commit
648140c6ad
@ -294,9 +294,9 @@ sub copycd
|
||||
foreach(@cpiopid){
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($mntpath) {
|
||||
if ($path) {
|
||||
chdir("/");
|
||||
system("umount $mntpath");
|
||||
system("umount $path");
|
||||
}
|
||||
};
|
||||
my $kid;
|
||||
|
@ -4210,9 +4210,9 @@ sub copycd {
|
||||
foreach(@cpiopid){
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($mntpath) {
|
||||
if ($path) {
|
||||
chdir("/");
|
||||
system("umount $mntpath");
|
||||
system("umount $path");
|
||||
}
|
||||
};
|
||||
my $KID;
|
||||
|
@ -560,9 +560,9 @@ sub copycd
|
||||
foreach(@cpiopid){
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($mntpath) {
|
||||
if ($path) {
|
||||
chdir("/");
|
||||
system("umount $mntpath");
|
||||
system("umount $path");
|
||||
}
|
||||
};
|
||||
my $kid;
|
||||
|
Loading…
Reference in New Issue
Block a user