projects
/
bpgallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exit on failure of being able to write medium sized images
[bpgallery.git]
/
bpgallery.sh
diff --git
a/bpgallery.sh
b/bpgallery.sh
index 4cc74509a68b7d305ec3f50dcb03645e9f1268b7..f4aa372ee6b4588f5dbab02bff5152234aa0b84e 100755
(executable)
--- a/
bpgallery.sh
+++ b/
bpgallery.sh
@@
-399,6
+399,7
@@
function generate_medium() {
if [ ! -w medium ]; then
$ECHOCOMMAND "Can't write to medium directory, exiting"
if [ ! -w medium ]; then
$ECHOCOMMAND "Can't write to medium directory, exiting"
+ exit 32
fi
generate_resized_images $MEDIUMWIDTH medium
fi
generate_resized_images $MEDIUMWIDTH medium