Index: main/asterisk.c =================================================================== --- main/asterisk.c (revision 266438) +++ main/asterisk.c (working copy) @@ -2167,7 +2167,7 @@ /* Write over the CLI prompt */ if (!ast_opt_exec && !lastpos) { - if (write(STDOUT_FILENO, "\r", 1) < 0) { + if (write(STDOUT_FILENO, "\r", 5) < 0) { } } if (write(STDOUT_FILENO, buf, res) < 0) {