From 620c2105eb1d928b97769006eb6eed79d6998531 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 8 May 2009 13:14:49 -0700 Subject: Don't attempt NSS if the module failed to build --- buildrun.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildrun.cxx b/buildrun.cxx index 1b441144..54aa5d4f 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -227,7 +227,8 @@ compile_pass (systemtap_session& s) // Failure to do so is not a fatal error. If the signature is actually needed, // staprun will complain at that time. assert (! s.cert_db_path.empty()); - sign_module (s); + if (!rc) + sign_module (s); #endif return rc; -- cgit