From 7a7bb6def2deba10fcb06893a56490f1682c88f4 Mon Sep 17 00:00:00 2001 From: Pavel Tvrdik Date: Tue, 26 Apr 2016 15:49:57 +0200 Subject: [PATCH] BIRD Client: fix doubled 'bird> bird> ' prompt Doubled cli prompt appeared in cli after reconfiguration. This bug relates to RC_NOTIFY message from bird daemon. --- client/birdcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/birdcl.c b/client/birdcl.c index eb748fdc..af603fad 100644 --- a/client/birdcl.c +++ b/client/birdcl.c @@ -42,7 +42,7 @@ input_notify(int prompt) if (!prompt || !interactive) return; - printf("bird> "); + printf("\rbird> "); fflush(stdout); }