From f55118e289e1bd6d190a16e51ee93fac62dd6b2a Mon Sep 17 00:00:00 2001 From: CoolStar Date: Thu, 10 May 2018 16:08:35 -0700 Subject: Fix system() in test_fileutl --- test/interactive-helper/test_fileutl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- cgit v1.2.3