Browse Source

compilation error

David Rose 16 năm trước cách đây
mục cha
commit
b710786378
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      direct/src/plugin/p3dSession.cxx

+ 1 - 1
direct/src/plugin/p3dSession.cxx

@@ -1318,7 +1318,7 @@ posix_create_process() {
       }
     }
 
-    if (_use_start_dir) {
+    if (!_keep_user_env) {
       if (chdir(_start_dir.c_str()) < 0) {
         nout << "Could not chdir to " << _start_dir << "\n";
         // This is a warning, not an error.  We don't actually care