From b7bb3d24f7f7c5b25225b8e68ed67328cf3af373 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 11 Feb 2010 14:22:15 +0100 Subject: [PATCH] Apply Philipp Storz fix on bconsole history file --- bacula/src/console/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/console/console.c b/bacula/src/console/console.c index 304bc04053..f72961d2da 100644 --- a/bacula/src/console/console.c +++ b/bacula/src/console/console.c @@ -873,6 +873,7 @@ static int console_init_history(const char *histfile) rl_completion_entry_function = dummy_completion_function; rl_attempted_completion_function = readline_completion; rl_filename_completion_desired = 0; + stifle_history(100); #endif return ret; -- 2.39.5