-Fix problem where copycds interrupted would not unmount images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
381bc61b13
commit
d1bd976a67
@ -805,6 +805,7 @@ sub copycd
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($::CDMOUNTPATH) {
|
||||
chdir("/");
|
||||
system("umount $::CDMOUNTPATH");
|
||||
}
|
||||
};
|
||||
|
@ -625,6 +625,7 @@ sub copycd
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($::CDMOUNTPATH) {
|
||||
chdir("/");
|
||||
system("umount $::CDMOUNTPATH");
|
||||
}
|
||||
};
|
||||
|
@ -301,6 +301,7 @@ sub copycd
|
||||
kill 2, $_;
|
||||
}
|
||||
if ($::CDMOUNTPATH) {
|
||||
chdir("/");
|
||||
system("umount $::CDMOUNTPATH");
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user