diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-06 14:20:43 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-06 14:20:43 +0200 |
commit | 4b77a582d891874e10c0c6b5fb1313c09409cbef (patch) | |
tree | 205f02534b53f4858df30dbadc60379423af0771 | |
parent | c479a49420aa3db42ca52d2965352ed40bbc118a (diff) | |
download | biruda-4b77a582d891874e10c0c6b5fb1313c09409cbef.tar.gz biruda-4b77a582d891874e10c0c6b5fb1313c09409cbef.tar.bz2 |
forgot the cli with -F <commandfile> case
-rw-r--r-- | src/biruda.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |