compilation error

This commit is contained in:
David Rose 2009-09-22 03:57:32 +00:00
parent ec5f3ab053
commit b710786378
1 changed files with 1 additions and 1 deletions

View File

@ -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