aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
Diffstat (limited to 'butl')
-rw-r--r--butl/process2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/process b/butl/process
index 1d16285..52aad41 100644
--- a/butl/process
+++ b/butl/process
@@ -48,7 +48,7 @@ namespace butl
bool
wait ();
- ~process () {assert (id == 0);}
+ ~process () {if (id != 0) wait ();}
#ifndef _WIN32
typedef pid_t id_type;