From 562cd4dcf23979042375760128048953dbe3cff0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 23 Nov 2011 13:37:24 +0100 Subject: [PATCH] Implement -t option for Bat --- bacula/src/qt-console/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index baf0f625b1..31be9ebc84 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -168,6 +168,9 @@ int main(int argc, char *argv[]) if (!check_resources()) { Emsg1(M_ERROR_TERM, 0, _("Please correct configuration file: %s\n"), configfile); } + if (test_config) { + exit(0); + } mainWin = new MainWin; mainWin->show(); -- 2.39.5