summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/interactive-helper/test_fileutl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/test_fileutl.cc b/test/interactive-helper/test_fileutl.cc
index 6c29b748f..0ab6163fc 100644
--- a/test/interactive-helper/test_fileutl.cc
+++ b/test/interactive-helper/test_fileutl.cc
@@ -14,7 +14,7 @@
static void callsystem(std::string const &call)
{
- auto ret = system(call.c_str());
+ auto ret = RunCmd(call.c_str());
if (WIFEXITED(ret) == false || WEXITSTATUS(ret) != 0)
_error->Error("Calling %s failed!", call.c_str());
}