mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
functions.network: fix cursor position at status write.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user