diff options
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r-- | src/utils/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 36e53c305..a5629fbc9 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -176,7 +176,7 @@ int execFileWait(std::string pathName, std::string name, } // monitoring process - pid_t exited_pid = wait(&status); + const pid_t exited_pid = wait(&status); int ret = -1; if (exited_pid == pid) { |