aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Program.cpp')
-rw-r--r--lib/System/Program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Program.cpp b/lib/System/Program.cpp
index cd58c2cc57..90aba763fa 100644
--- a/lib/System/Program.cpp
+++ b/lib/System/Program.cpp
@@ -31,7 +31,7 @@ Program::ExecuteAndWait(const Path& path,
std::string* ErrMsg) {
Program prg;
if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg))
- return prg.Wait(secondsToWait, ErrMsg);
+ return prg.Wait(path, secondsToWait, ErrMsg);
else
return -1;
}