diff --git a/src/tools/balooctl/configcommand.cpp b/src/tools/balooctl/configcommand.cpp --- a/src/tools/balooctl/configcommand.cpp +++ b/src/tools/balooctl/configcommand.cpp @@ -272,7 +272,7 @@ if (config.excludeFolders().contains(path)) { out << i18n("%1 is in the list of exclude folders", path) << endl; - out << "Aborting" << endl; + return 1; } folders.append(path); @@ -307,7 +307,7 @@ if (config.includeFolders().contains(path)) { out << i18n("%1 is in the list of exclude folders", path) << endl; - out << "Aborting" << endl; + return 1; } folders.append(path);