summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--buildrun.cxx3
1 files changed, 2 insertions, 1 deletions
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;