no run and log convert
This commit is contained in:
parent
c353c5892f
commit
6be2cdfd15
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue