diff options
Diffstat (limited to 'bootstrap.d/31-logging.sh')
-rw-r--r-- | bootstrap.d/31-logging.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.d/31-logging.sh b/bootstrap.d/31-logging.sh index 740161b..00a9f86 100644 --- a/bootstrap.d/31-logging.sh +++ b/bootstrap.d/31-logging.sh @@ -7,7 +7,7 @@ # Disable rsyslog if [ "$ENABLE_RSYSLOG" = false ] ; then - sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" $R/etc/systemd/journald.conf + sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" "$R/etc/systemd/journald.conf" chroot_exec systemctl disable rsyslog chroot_exec apt-get -qq -y --force-yes purge rsyslog fi |