From 7cd52b36a1977def5020b2424e2d36f66dc7ef64 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 12 Apr 2014 14:30:34 +0200 Subject: [PATCH] Always print service start/stop at start of line Signed-off-by: Joachim Nilsson --- helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers.c b/helpers.c index ad75f48f..cfa1c17e 100644 --- a/helpers.c +++ b/helpers.c @@ -337,6 +337,7 @@ void print_desc(char *action, char *desc) delline(); print_timestamp(); + write(STDERR_FILENO, "\r", 1); write(STDERR_FILENO, action, strlen(action)); write(STDERR_FILENO, desc, strlen(desc)); write(STDERR_FILENO, dots, 60 - strlen(desc) - strlen(action)); /* pad with dots. */