rsyslog - Update global variable according to new sequencer version

This commit is contained in:
2022-08-12 18:07:20 +02:00
parent 7206694105
commit 0a01c9dd51

View File

@@ -79,7 +79,7 @@ step_16() {
return 1
fi
addConf -s -f "$CONFIG_REMOTE" "$CONFIG_REMOTE_DEST"
endReturn -o $? "Custom remote host $remoteHost not applied to destination or $MISSING_CONF"
endReturn -o $? "Custom remote host $remoteHost not applied to destination or check ${sqr_missingConf:-}"
exe sed -i "s/12\.34\.56\.78\:514/${remoteHost}/" "$CONFIG_REMOTE_DEST"
endReturn -o $? "Couldn't apply $remoteHost to $CONFIG_REMOTE_DEST"