commit:     61882821e0d6110a2ca2f67fad7c362983a85cf0
Author:     Doug Freed <dwfreed <AT> mtu <DOT> edu>
AuthorDate: Wed Sep 28 19:00:40 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 19:00:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=61882821

init.d: Clean up some bad ewarn output

 init.d/hwclock.in    | 4 ++--
 init.d/localmount.in | 4 ++--
 init.d/procfs.in     | 4 ++--
 init.d/sysfs.in      | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/init.d/hwclock.in b/init.d/hwclock.in
index e69c561..f78cc7c 100644
--- a/init.d/hwclock.in
+++ b/init.d/hwclock.in
@@ -106,8 +106,8 @@ start()
                                modprobe -q $x && rtc_exists && modname="$x" && 
break
                        done
                        [ -n "$modname" ] &&
-                               ewarn "The $modname module needs to be 
configured in \
-                                       @SYSCONFDIR@/conf.d/modules or built 
in."
+                               ewarn "The $modname module needs to be 
configured in" \
+                                       "@SYSCONFDIR@/conf.d/modules or built 
in."
                fi
        fi
 

diff --git a/init.d/localmount.in b/init.d/localmount.in
index d2c9321..c953524 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -99,8 +99,8 @@ stop()
                                aufs_branch=$(sed 's/=.*//g' $x)
                                eindent
                                if ! mount -o "remount,del:$aufs_branch" 
"$aufs_mount_point" > /dev/null 2>&1; then
-                                       ewarn "Failed to remove branch 
$aufs_branch from aufs \
-                                       $aufs_mount_point"
+                                       ewarn "Failed to remove branch 
$aufs_branch from aufs" \
+                                       "$aufs_mount_point"
                                fi
                                eoutdent
                                sync

diff --git a/init.d/procfs.in b/init.d/procfs.in
index e04355e..2abeb03 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -26,8 +26,8 @@ start()
                [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
                if ! grep -qs binfmt_misc /proc/filesystems &&
                        modprobe -q binfmt-misc; then
-                       ewarn "The  binfmt-misc module needs to be configured 
in \
-                               @SYSCONFDIR@/conf.d/modules or built in."
+                       ewarn "The binfmt-misc module needs to be configured 
in" \
+                               "@SYSCONFDIR@/conf.d/modules or built in."
                fi
                if grep -qs binfmt_misc /proc/filesystems; then
                        ebegin "Mounting misc binary format filesystem"

diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 87adacd..b9478f8 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -104,8 +104,8 @@ mount_misc()
        if [ -d /sys/firmware/efi/efivars ] \
                && ! mountinfo -q /sys/firmware/efi/efivars; then
                if modprobe -q efivarfs; then
-                       ewarn "The efivarfs module needs to be configured in \
-                               @SYSCONFDIR@/conf.d/modules or built in"
+                       ewarn "The efivarfs module needs to be configured in" \
+                               "@SYSCONFDIR@/conf.d/modules or built in"
                fi
                if grep -qs efivarfs /proc/filesystems; then
                        ebegin "Mounting efivarfs filesystem"

Reply via email to