remove trailing space

This commit is contained in:
Patrick Schleizer 2020-03-21 14:12:42 -04:00
parent 7c25fc517e
commit 23bd7ead59
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -21,7 +21,7 @@ if mount | grep "${rootmnt}" | grep -q "(ro,"; then
mount -o remount,rw "${rootmnt}"
fi
sysctl -p ${rootmnt}/etc/sysctl.conf >/dev/null 2>${rootmnt}/var/log/sysctl-initramfs-error.log
sysctl -p ${rootmnt}/etc/sysctl.d/*.conf >/dev/null 2>>${rootmnt}/var/log/sysctl-initramfs-error.log
sysctl -p ${rootmnt}/etc/sysctl.d/*.conf >/dev/null 2>>${rootmnt}/var/log/sysctl-initramfs-error.log
if [ "${remount}" = "yes" ]; then
mount -o remount,ro "${rootmnt}"
fi