| @@ -12,7 +12,7 @@ | |||||
| # And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a | # And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a | ||||
| VERSION="2.0.3" | |||||
| VERSION="2.0.4" | |||||
| ###################### EXTERNAL PROGRAMS ####################### | ###################### EXTERNAL PROGRAMS ####################### | ||||
| @@ -78,7 +78,7 @@ EXIT_INVALID_PAPER_SIZE=50 | |||||
| # Main function called at the end | # Main function called at the end | ||||
| main() { | main() { | ||||
| printPDFSizes | |||||
| printPDFSizes # may exit here | |||||
| vprint " Input File: $INFILEPDF" | vprint " Input File: $INFILEPDF" | ||||
| vprint " Output File: $OUTFILEPDF" | vprint " Output File: $OUTFILEPDF" | ||||
| getPageSize | getPageSize | ||||
| @@ -119,7 +119,7 @@ main() { | |||||
| finalRet=$? | finalRet=$? | ||||
| fi | fi | ||||
| if [[ finalRet -eq $EXIT_SUCCESS ]]; then | |||||
| if [[ $finalRet -eq $EXIT_SUCCESS ]]; then | |||||
| vprint " Final Status: File created successfully" | vprint " Final Status: File created successfully" | ||||
| else | else | ||||
| vprint " Final Status: Errors were detected. Exit status: $finalRet" | vprint " Final Status: Errors were detected. Exit status: $finalRet" | ||||