diff --git a/src/gl-easy-install b/src/gl-easy-install index 31b1f4e..2f8a128 100755 --- a/src/gl-easy-install +++ b/src/gl-easy-install @@ -66,6 +66,11 @@ setup_tempdir() { } cleanup() { + [ $? -eq 0 ] || { + printf "\n\n\t\t**ABORTED**\n\n" + printf "Please check messages above carefully, fix whatever is needed, and try again.\n" + printf "Note that the problem may be on the server, not necessarily on the client.\n\n" + } rm -rf $tmpgli }