2
0
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:
GONG Jie 2019-03-12 16:06:08 +08:00
parent 0278e8962c
commit 3089a256e5

View File

@ -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
{