summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/bbackupquery/bbackupquery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bbackupquery/bbackupquery.cpp b/bin/bbackupquery/bbackupquery.cpp
index ccb4a654..dbac3f27 100644
--- a/bin/bbackupquery/bbackupquery.cpp
+++ b/bin/bbackupquery/bbackupquery.cpp
@@ -154,6 +154,7 @@ char * completion_generator(const char *text, int state)
if(state < 0 || state >= (int) completions.size())
{
rl_attempted_completion_over = 1;
+ sapCmd.reset();
return NULL;
}