mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Handle the exit code properly
This commit is contained in:
parent
0278e8962c
commit
3089a256e5
@ -2293,7 +2293,7 @@ sub copycd
|
||||
|
||||
if ($rc != 0)
|
||||
{
|
||||
$callback->({ error => "Media copy operation failed, status $rc" });
|
||||
$callback->({ error => "Media copy operation failed, status $rc", errorcode => [1] });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user