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 Nov 13, 2023
1 parent f217076 commit 42dda8e
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 @@ -84,7 +84,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 42dda8e

Please sign in to comment.