diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index 56284567964..3d223bb7253 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -978,8 +978,6 @@ bool QProcessPrivate::startDetached(qint64 *pid) qt_safe_close(startedPipe[1]); qt_safe_write(pidPipe[1], (const char *)&doubleForkPid, sizeof(pid_t)); - if (QT_CHDIR("/") == -1) - qWarning("QProcessPrivate::startDetached: failed to chdir to /"); ::_exit(1); }