diff options
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.S')
-rw-r--r-- | source/a/sysvinit-scripts/scripts/rc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.S b/source/a/sysvinit-scripts/scripts/rc.S index 608b4da69..85a2ebc31 100644 --- a/source/a/sysvinit-scripts/scripts/rc.S +++ b/source/a/sysvinit-scripts/scripts/rc.S @@ -417,7 +417,7 @@ mkdir -p /var/run/faillock # updated. # if [ -w /etc/motd ]; then - if head -n 1 /etc/motd | grep -q "^Linux " ; then + if head -n 1 /etc/motd | grep -q "^Linux" ; then # Replace the kernel version if it is not correct: if [ ! "$(/bin/uname -r)." = "$(head -n 1 /etc/motd | cut -f 2 -d ' ')" ]; then sed -i "{1s/^Linux.*/$(/bin/uname -sr)\./}" /etc/motd |