From: Eric Bollengier Date: Wed, 24 Feb 2010 16:40:17 +0000 (+0100) Subject: bconsole: make problem in director selection fatal (exit=1) X-Git-Tag: Release-7.0.0~2144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2b6aef28a38fc1eaad53e765edbefb1abbc52874;p=bacula%2Fbacula bconsole: make problem in director selection fatal (exit=1) --- diff --git a/bacula/src/console/console.c b/bacula/src/console/console.c index 761c21a561..5ea90ec202 100644 --- a/bacula/src/console/console.c +++ b/bacula/src/console/console.c @@ -1132,7 +1132,7 @@ int main(int argc, char *argv[]) start_watchdog(); /* Start socket watchdog */ if(!select_director(director, &dir, &cons)) { - return 0; + return 1; } senditf(_("Connecting to Director %s:%d\n"), dir->address,dir->DIRport);