From 3089a256e59c495160980bc4da70bbc95e9318a0 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Tue, 12 Mar 2019 16:06:08 +0800 Subject: [PATCH] Handle the exit code properly --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 82fb775c6..96f6a840b 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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 {