From 63e10b4d28e64107e51207f292ab0093a95c1bc6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 19 Jan 2017 15:15:45 +0100 Subject: Cleanup --- src/libutil/util.hh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 052173ff99..67d2891688 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -218,11 +218,10 @@ void killUser(uid_t uid); pid to the caller. */ struct ProcessOptions { - string errorPrefix; - bool dieWithParent; - bool runExitHandlers; - bool allowVfork; - ProcessOptions() : errorPrefix("error: "), dieWithParent(true), runExitHandlers(false), allowVfork(true) { }; + string errorPrefix = "error: "; + bool dieWithParent = true; + bool runExitHandlers = false; + bool allowVfork = true; }; pid_t startProcess(std::function fun, const ProcessOptions & options = ProcessOptions()); -- cgit 1.4.1