projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Update libtest.
[awesomized/libmemcached]
/
libtest
/
cmdline.cc
diff --git
a/libtest/cmdline.cc
b/libtest/cmdline.cc
index f6d1e3d65fae37624b283e4f5f4d2598bd18ac0f..cbc9d0a6d66a7e138fa38f2fcc197ce1923e3bd4 100644
(file)
--- a/
libtest/cmdline.cc
+++ b/
libtest/cmdline.cc
@@
-244,8
+244,9
@@
Application::error_t Application::run(const char *args[])
stdout_fd.close(Application::Pipe::WRITE);
stderr_fd.close(Application::Pipe::WRITE);
- if (spawn_ret)
+ if (spawn_ret
!= 0
)
{
+ Error << strerror(spawn_ret) << "(" << spawn_ret << ")";
_pid= -1;
return Application::INVALID;
}