diff options
Diffstat (limited to 'packageinstall.sh')
-rw-r--r-- | packageinstall.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index 3fbe193..ce5a42b 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -34,6 +34,7 @@ else mkdir -p "../log/chapter${CHAPTER}/" source "../chapter${CHAPTER}/${PACKAGE}.sh" 2>&1 > "../log/chapter${CHAPTER}/${PACKAGE}.log" 2>&1 & pid=$! spinner "$pid" + retval=$? if [ "$retval" -ne 0 ]; then echo -e "\n${GRN}Compiling ${YLW}${PACKAGE} ${RED}FAILED!${RST}" popd > /dev/null |