]> git.sommitrealweird.co.uk Git - bpgallery.git/blobdiff - bpgallery.sh
Exit on failure of being able to write medium sized images
[bpgallery.git] / bpgallery.sh
index 4cc74509a68b7d305ec3f50dcb03645e9f1268b7..f4aa372ee6b4588f5dbab02bff5152234aa0b84e 100755 (executable)
@@ -399,6 +399,7 @@ function generate_medium() {
 
        if [ ! -w medium ]; then
                $ECHOCOMMAND "Can't write to medium directory, exiting"
+               exit 32
        fi
        
        generate_resized_images $MEDIUMWIDTH medium