diff --git a/tex-thumbnailer/tex-thumbnailer b/tex-thumbnailer/tex-thumbnailer index ec69f49..c946a64 100644 --- a/tex-thumbnailer/tex-thumbnailer +++ b/tex-thumbnailer/tex-thumbnailer @@ -38,12 +38,12 @@ C1=`grep -c "begin{document}" "${ifile}"` C2=`grep -c "end{document}" "${ifile}"` if [ $C1 -lt "1" ]; then - echo "tex-thumbnailer: no \begin{document}" + printf "%s\n" "tex-thumbnailer: no \begin{document}" exit 1 fi if [ $C2 -lt "1" ]; then - echo "tex-thumbnailer: no \end{document}" + printf "%s\n" "tex-thumbnailer: no \end{document}" exit 1 fi