]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
Merge branch 't/recycling'
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 223f80e086e66b6ae3367e84292de91c62a9195a..3508d38d798c1af448398c2de1d0b438a61bb4e4 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -964,7 +964,7 @@ static int parse_config_file(int override)
                        conf.logfile_given = 1;
                }
        }
-       if (conf.logfile_given) {
+       if (conf.logfile_given && conf.run_given && conf.daemon_given) {
                logfile = open_log(conf.logfile_arg);
                log_welcome(conf.loglevel_arg);
        }