diff --git a/scripts/validate.bash b/scripts/validate.bash index 188e70cb02ec429612e5914d91b3d004a7b263bb..1517ac0be340cc656968514e30e9b9e9d67e5bc6 100755 --- a/scripts/validate.bash +++ b/scripts/validate.bash @@ -31,6 +31,9 @@ function test_simple () ./lkt pwd=hashire adm kil sleep 5 kill $_child_pid + wait $_child_pid + local _child_sta=$? + [ _child_sta -ne 0 ] && die "The lektord process exited with $_child_sta" } ### Utility functions ########################################################