Merge pull request #180 from ToutyRater/patch-1

Modify exit code number
pull/194/head
IceCodeNew 2020-11-25 02:17:31 +08:00 committed by GitHub
commit 224e4318ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ main() {
if [[ "$?" -eq '1' ]]; then
"rm" -r "$TMP_DIRECTORY"
echo "removed: $TMP_DIRECTORY"
exit 0
exit 1
fi
install_software 'unzip' 'unzip'
decompression "$ZIP_FILE"