From 4b77a582d891874e10c0c6b5fb1313c09409cbef Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 6 Apr 2015 14:20:43 +0200 Subject: forgot the cli with -F case --- src/biruda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biruda.c b/src/biruda.c index 7f02847..8479aa5 100644 --- a/src/biruda.c +++ b/src/biruda.c @@ -340,7 +340,7 @@ int main( int argc, char *argv[] ) exit( EXIT_FAILURE ); } - if( !args_info.cli_given || args_info.config_file_given ) { + if( !( args_info.cli_given || args_info.filename_given ) || args_info.config_file_given ) { if( read_config( args_info.config_file_given ? args_info.config_file_arg : DEFAULT_CONFIG_FILE, &cfg ) ) { if( cfg ) cfg_free( cfg ); -- cgit v1.2.3-54-g00ecf