[asterisk-commits] mnicholson: testsuite/asterisk/trunk r144 - /asterisk/trunk/asttest/lib/lua/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 25 11:38:50 CDT 2010
Author: mnicholson
Date: Thu Mar 25 11:38:47 2010
New Revision: 144
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=144
Log:
Fixed and updated the comment on proc:term_or_kill()
Modified:
asterisk/trunk/asttest/lib/lua/proclib.lua
Modified: asterisk/trunk/asttest/lib/lua/proclib.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/proclib.lua?view=diff&rev=144&r1=143&r2=144
==============================================================================
--- asterisk/trunk/asttest/lib/lua/proclib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/proclib.lua Thu Mar 25 11:38:47 2010
@@ -23,7 +23,8 @@
return p:wait()
end
--- sent the term signal and give the process 10 seconds to exit then kill it
+--- Send the term signal and give the process 10 seconds to exit then kill it.
+-- @return whatever term() or kill() returned
function proc:term_or_kill()
local res, err = self:term(10000)
if not res and err == 'timeout' then
More information about the asterisk-commits
mailing list