Reports the deployment execution status

This commit is contained in:
Bruno Tavares 2015-06-26 12:13:41 -03:00
parent 0860d143e1
commit 08a4e1ac77

View File

@ -15,8 +15,10 @@ cat <<CMD
mkdir -p "\$target"
cd "\$target"
tar xz
$prefix bash $debug install.sh
exit_status=0
$prefix bash $debug install.sh || exit_status=\$?
rm -rf "\$target"
exit \$exit_status
CMD
)