From 550b5257aba507bcce98f6832b8905769a14955d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Apr 2017 13:19:19 +0200 Subject: Add process_run()/process_start() higher-level API on top of class process --- tests/process/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/process') diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx index 1fb685c..fc9ffe9 100644 --- a/tests/process/driver.cxx +++ b/tests/process/driver.cxx @@ -143,7 +143,7 @@ exec (const path& p, } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); //cerr << args[0] << ": " << e << endl; -- cgit v1.1