summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xanondcim2
1 files changed, 1 insertions, 1 deletions
diff --git a/anondcim b/anondcim
index d3f2483..df5d4b9 100755
--- a/anondcim
+++ b/anondcim
@@ -63,7 +63,7 @@ do
# always use a padded number as destination filename suffix
dst="$dst$file_prefix$(echo -n "0000000000$cur" | tail -c ${#total}).jpg"
echo "anonymizing \"$fn\" to \"$dst\" ($cur/$total)"
- [ -e "$dst" ] && { err "destination \"$dst\" for source \"$fn\" already exists, anonymization is skipped"; continue; }
+ [ ! -e "$dst" ] || die "destination \"$dst\" for source \"$fn\" already exists"
read w h << EOF
$(identify -format '%w %h' "$fn")
contact: Jan Huwald // Impressum