rsyslog - Update global variable according to new sequencer version
This commit is contained in:
@@ -79,7 +79,7 @@ step_16() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
addConf -s -f "$CONFIG_REMOTE" "$CONFIG_REMOTE_DEST"
|
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"
|
exe sed -i "s/12\.34\.56\.78\:514/${remoteHost}/" "$CONFIG_REMOTE_DEST"
|
||||||
endReturn -o $? "Couldn't apply $remoteHost to $CONFIG_REMOTE_DEST"
|
endReturn -o $? "Couldn't apply $remoteHost to $CONFIG_REMOTE_DEST"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user