echo needs a -e switch in order to handle newlines correctly
This commit is contained in:
parent
a30cce7b39
commit
80d20cecdd
@ -872,7 +872,7 @@ archive)
|
|||||||
|
|
||||||
# If jail is still running, refuse to go any further - unless forced
|
# If jail is still running, refuse to go any further - unless forced
|
||||||
if [ "${ezjail_id}" -a -z "${ezjail_force}" ]; then
|
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
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user