no run and log convert

This commit is contained in:
Antonio J. Delgado 2023-04-19 18:02:19 +03:00
parent c353c5892f
commit 6be2cdfd15

View file

@ -131,7 +131,7 @@ if [ ! -x "${convert_cmd}" ]; then
exit 1 exit 1
fi fi
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=$? error_code=$?
if [[ "$error_code" != "0" ]]; then if [[ "$error_code" != "0" ]]; then
echo "Error $error_code adding date to the image" echo "Error $error_code adding date to the image"