diff --git a/earth_wallpaper.sh b/earth_wallpaper.sh index c16f75a..aaaf034 100755 --- a/earth_wallpaper.sh +++ b/earth_wallpaper.sh @@ -131,7 +131,7 @@ if [ ! -x "${convert_cmd}" ]; then exit 1 fi fi -run_and_log "${convert_cmd}" $wallpaper_file -pointsize 50 -font "${font_name}" -fill "#505050" -gravity SouthEast -annotate +0+0 "$text" $wallpaper_file +"${convert_cmd}" $wallpaper_file -pointsize 50 -font "${font_name}" -fill "#505050" -gravity SouthEast -annotate +0+0 "$text" $wallpaper_file error_code=$? if [[ "$error_code" != "0" ]]; then echo "Error $error_code adding date to the image"