Open clyso opened 2 years ago
when running check_mrpe inside container (busybox sed) I receive following error:
sed: unterminated {
when running on container host (gnu sed) works as expected
following change fixed the problem: instead of sed '/^<<<mrpe>>>/,/^<<</{//!b};d' use sed '/^<<<mrpe>>>/,/^<<</{//!b;};d'
sed '/^<<<mrpe>>>/,/^<<</{//!b};d'
sed '/^<<<mrpe>>>/,/^<<</{//!b;};d'
summary: add a semikolon before the closing bracket
when running check_mrpe inside container (busybox sed) I receive following error:
when running on container host (gnu sed) works as expected