diff options
Diffstat (limited to 'node/Service.cpp')
-rw-r--r-- | node/Service.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/Service.cpp b/node/Service.cpp index a43d104a..d8e4bb2a 100644 --- a/node/Service.cpp +++ b/node/Service.cpp @@ -139,9 +139,9 @@ void Service::threadMain() dup2(in[0],STDIN_FILENO); dup2(out[1],STDOUT_FILENO); dup2(err[1],STDERR_FILENO); - setenv("ZT_HOME",_r->homePath.c_str(),1); - chdir(_r->homePath.c_str()); - execl(_path.c_str(),_path.c_str(),_r->homePath.c_str(),(const char *)0); + setenv("ZT_HOME",RR->homePath.c_str(),1); + chdir(RR->homePath.c_str()); + execl(_path.c_str(),_path.c_str(),RR->homePath.c_str(),(const char *)0); exit(-1); } } else { |