From: Kern Sibbald Date: Wed, 23 Nov 2011 12:37:24 +0000 (+0100) Subject: Implement -t option for Bat X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39fed27f40f3d0ae4b1fd76a180f3a3cebf78163;p=bacula%2Fbacula Implement -t option for Bat --- 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();