From 2b6aef28a38fc1eaad53e765edbefb1abbc52874 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 24 Feb 2010 17:40:17 +0100 Subject: [PATCH] bconsole: make problem in director selection fatal (exit=1) --- bacula/src/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5