From 87c3429e42667768f5354af720e865d5b565cb01 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 26 Jan 2012 13:47:35 +0100 Subject: [PATCH] Add error message to .bvfs_clear_cache command --- bacula/src/dird/ua_dotcmds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index c7d26095a6..0669288b2c 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -207,7 +207,10 @@ static bool dot_bvfs_clear_cache(UAContext *ua, const char *cmd) Bvfs fs(ua->jcr, ua->db); fs.clear_cache(); ua->info_msg("OK\n"); - } + } else { + ua->error_msg("Can't find 'yes' argument\n"); + } + close_db(ua); return true; } -- 2.39.5