echo needs a -e switch in order to handle newlines correctly

This commit is contained in:
erdgeist 2008-07-13 21:21:10 +00:00
parent a30cce7b39
commit 80d20cecdd

View File

@ -872,7 +872,7 @@ archive)
# If jail is still running, refuse to go any further - unless forced
if [ "${ezjail_id}" -a -z "${ezjail_force}" ]; then
echo "Warning: Jail ${ezjail_name} appears to be still running.\n Stop it first, or use '${ezjail_admin} -f ${ezjail_name}' to force archiving."
echo -e "Warning: Jail ${ezjail_name} appears to be still running.\n Stop it first, or use '${ezjail_admin} -f ${ezjail_name}' to force archiving."
continue
fi