Skip to content

Commit

Permalink
Handle the exit code properly
Browse files Browse the repository at this point in the history
  • Loading branch information
GONG Jie committed Mar 12, 2019
1 parent f455460 commit f9c4c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xCAT-server/lib/xcat/plugins/anaconda.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit f9c4c1c

Please sign in to comment.