From 29fa14154fc211a4eb91d0c75c041b74fc0bf1fa Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 8 Jul 2013 19:58:11 +0200 Subject: [PATCH] functions.network: fix cursor position at status write. --- src/initscripts/init.d/networking/functions.network | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/initscripts/init.d/networking/functions.network b/src/initscripts/init.d/networking/functions.network index 26cc65c7c7..b1ce220de9 100755 --- a/src/initscripts/init.d/networking/functions.network +++ b/src/initscripts/init.d/networking/functions.network @@ -142,11 +142,13 @@ dhcpcd_stop() { # Display console message, depended on the exit code # of the stopped dhcpcd. if [ "${ret}" -eq 0 ]; then + boot_mesg echo_ok elif [ "${ret}" -eq 1 ]; then boot_mesg "failed to stop dhcpcd!" ${WARNING} echo_warning else + boot_mesg echo_failure fi fi -- 2.39.5