projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix for the light server.
[m6w6/libmemcached]
/
libtest
/
cmdline.cc
diff --git
a/libtest/cmdline.cc
b/libtest/cmdline.cc
index 7c2f5f442662748bfabd8e0a70fad4878e08f5bd..6ef407849cad8da6e523691dc3e71676f9999341 100644
(file)
--- a/
libtest/cmdline.cc
+++ b/
libtest/cmdline.cc
@@
-214,7
+214,10
@@
Application::error_t Application::wait()
}
else
{
}
else
{
- assert(waited_pid == _pid);
+ if (waited_pid != _pid)
+ {
+ throw libtest::fatal(LIBYATL_DEFAULT_PARAM, "Pid mismatch, %d != %d", int(waited_pid), int(_pid));
+ }
exit_code= error_t(exited_successfully(status));
}
}
exit_code= error_t(exited_successfully(status));
}
}