t* Simple Justified Gallery
       
   URI git clone git://git.codevoid.de/mkpicindex
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 0ae6cf1614cf7dcec320e0e7cef74bc8a4b58235
   DIR parent 89d7a45382d8f84d6d8e4ab0d50989247d051271
   URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
       Date:   Sun, 27 Oct 2019 19:32:35 +0100
       
       Fix process counting...
       
       Diffstat:
         M mkpicindex-static.sh                |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/mkpicindex-static.sh b/mkpicindex-static.sh
       t@@ -85,8 +85,8 @@ get_width_by_height() {
        }
        # TOO MANY CONVERT PROCSSES => WAIT
        thread_check() { 
       -    while [ $(pgrep convert | wc -l | awk '{ print $1 }') -gt $THREADS ];
       -    do console "More than $THREADS convert threads. Waiting..."; sleep 2; done
       +    while [ $(pgrep convert | wc -l | awk '{ print $1 }') -gt $(($THREADS-1)) ];
       +    do console "Process Limit ($THREADS) reached. Waiting..."; sleep 2; done
        }
        
        # CREATE THUMBNAIL