summaryrefslogtreecommitdiff
path: root/copyPhotos
diff options
context:
space:
mode:
Diffstat (limited to 'copyPhotos')
-rwxr-xr-xcopyPhotos4
1 files changed, 2 insertions, 2 deletions
diff --git a/copyPhotos b/copyPhotos
index de4d4b7..3f5f8c9 100755
--- a/copyPhotos
+++ b/copyPhotos
@@ -208,9 +208,9 @@ do
bild="$(
echo "${!daten[@]}" | \
tr ' ' '\n' | \
- grep "${re}"
+ grep "${re}" || true
)"
- if [ "$(echo "${bild}" | wc -l | cut -d' ' -f1)" -gt 1 ]
+ if [ "$(echo "${bild}" | wc -l | cut -d' ' -f1)" -ne 1 ]
then
bild="$(
echo "${!daten[@]}" | \