More info on copy failure

This commit is contained in:
Bob Mottram 2018-03-03 11:25:03 +00:00
parent d9f424c9e2
commit 6db3860710
1 changed files with 5 additions and 1 deletions

View File

@ -214,7 +214,11 @@ function mesh_upgrade_golang {
exit 356356785 exit 356356785
fi fi
# shellcheck disable=SC2086 # shellcheck disable=SC2086
cp ${rootdir}/home/go/go${GO_VERSION}/bin/* "${rootdir}/usr/bin" if ! cp ${rootdir}/home/go/go${GO_VERSION}/bin/* "${rootdir}/usr/bin"; then
ls -la "${rootdir}/home/go/go${GO_VERSION}"
echo $'Copying golang binaries failed'
exit 246824628
fi
} }
function upgrade_golang { function upgrade_golang {