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-5.2.1~1679 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20e71ee87f459eeaa152db903d1b4fa413a331fc;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);