Skip to content

Commit

Permalink
v2.0.4 - Fix to final status, missing $ in $finalRet
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinus committed May 16, 2017
1 parent 30d3fb0 commit 36719f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdfScale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a


VERSION="2.0.3"
VERSION="2.0.4"


###################### EXTERNAL PROGRAMS #######################
Expand Down Expand Up @@ -78,7 +78,7 @@ EXIT_INVALID_PAPER_SIZE=50

# Main function called at the end
main() {
printPDFSizes
printPDFSizes # may exit here
vprint " Input File: $INFILEPDF"
vprint " Output File: $OUTFILEPDF"
getPageSize
Expand Down Expand Up @@ -119,7 +119,7 @@ main() {
finalRet=$?
fi

if [[ finalRet -eq $EXIT_SUCCESS ]]; then
if [[ $finalRet -eq $EXIT_SUCCESS ]]; then
vprint " Final Status: File created successfully"
else
vprint " Final Status: Errors were detected. Exit status: $finalRet"
Expand Down

0 comments on commit 36719f4

Please sign in to comment.