summaryrefslogtreecommitdiffstats
path: root/bin/comics/garfield
diff options
context:
space:
mode:
Diffstat (limited to 'bin/comics/garfield')
-rwxr-xr-xbin/comics/garfield2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/comics/garfield b/bin/comics/garfield
index 66a05e1..79fd431 100755
--- a/bin/comics/garfield
+++ b/bin/comics/garfield
@@ -19,7 +19,7 @@ echo
wget ${wget_args} "$nomen" -O "$newn"
-if [ -e "${tmp}/${newn}" ]; then
+if [ -s "${tmp}/${newn}" ]; then
mv "${tmp}/${newn}" "${image_dir}/$newn"
rm -f "${comic_dir}/latest.gif"
ln -s "${image_offset}/$newn" "${comic_dir}/latest.gif"