-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:
jbjohnso 2008-08-11 18:36:10 +00:00
parent 381bc61b13
commit d1bd976a67
3 changed files with 3 additions and 0 deletions

View File

@ -805,6 +805,7 @@ sub copycd
kill 2, $_;
}
if ($::CDMOUNTPATH) {
chdir("/");
system("umount $::CDMOUNTPATH");
}
};

View File

@ -625,6 +625,7 @@ sub copycd
kill 2, $_;
}
if ($::CDMOUNTPATH) {
chdir("/");
system("umount $::CDMOUNTPATH");
}
};

View File

@ -301,6 +301,7 @@ sub copycd
kill 2, $_;
}
if ($::CDMOUNTPATH) {
chdir("/");
system("umount $::CDMOUNTPATH");
}
};