Skip to content

Commit

Permalink
Match end range on start of line plus whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jul 8, 2024
1 parent 3f17fcf commit f2bd3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm_spec/subpackages/manageiq-appliance
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fi

# Disable rsyslog duplicating systemd-journal output
# This will comment out the multi-line module load from /etc/rsyslog.conf
sed -i '/^module(load="imjournal"/, /StateFile="imjournal.state")/ s|^|#|' %{_sysconfdir}/rsyslog.conf
sed -i '/^module(load="imjournal"/, /^\s+StateFile="imjournal.state")/ s|^|#|' %{_sysconfdir}/rsyslog.conf
if systemctl is-active --quiet rsyslog; then
systemctl restart rsyslog
fi
Expand Down

0 comments on commit f2bd3c8

Please sign in to comment.