summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/BackupQueries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbackupquery/BackupQueries.cpp')
-rw-r--r--bin/bbackupquery/BackupQueries.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/bbackupquery/BackupQueries.cpp b/bin/bbackupquery/BackupQueries.cpp
index a47274ff..aea6c896 100644
--- a/bin/bbackupquery/BackupQueries.cpp
+++ b/bin/bbackupquery/BackupQueries.cpp
@@ -108,8 +108,15 @@ BackupQueries::~BackupQueries()
//
// --------------------------------------------------------------------------
void BackupQueries::DoCommand(ParsedCommand& rCommand)
-{
+{
// Check...
+
+ if(rCommand.mFailed)
+ {
+ BOX_ERROR("Parse failed");
+ return;
+ }
+
if(rCommand.mCmdElements.size() < 1)
{
// blank command