summarylogtreecommitdiffstats
path: root/patch.txt
blob: 3a6fe8044dd5ad9d3febcc4da6ac4e2adec2663b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
index cf40f31..5c9d110 100755
--- a/main.cpp
+++ b/main.cpp
@@ -345,14 +345,14 @@ int main(int argc, const char * argv[])
 {
     int ret = 0;
     bool background = false, redirect_to_null = false;
-    std::string config_path = "EasyDrcom.conf";
+    std::string config_path = "/etc/EasyDrcom.conf";
     auto clog_def = std::clog.rdbuf();
     auto cout_def = std::cout.rdbuf();
     auto cerr_def = std::cerr.rdbuf();
 #ifdef OPENWRT
     std::string log_path = "/tmp/EasyDrcom.log";
 #else
-    std::string log_path = "EasyDrcom.log";
+    std::string log_path = "/tmp/EasyDrcom.log";
 #endif
     
     for (int i = 1; i < argc; i++)