Skip to content
Browse files

add trap statements to useflag and revdep templates

  • Loading branch information...
1 parent e1fbda2 commit af5c05f0aeb058ee4d9d1513be46cec4facc7d8f @tom111 committed Jan 24, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 templates/revdep-header
  2. +2 −0 templates/use-header
View
2 templates/revdep-header
@@ -1,2 +1,4 @@
#!/bin/sh
# Reverse dependency testing for @@JOB@@
+
+trap "echo 'signal captured, exiting the entire script...'; exit" SIGHUP SIGINT SIGTERM
View
2 templates/use-header
@@ -1,2 +1,4 @@
#!/bin/sh
#USE-Flag build tests for job @@JOB@@
+
+trap "echo 'signal captured, exiting the entire script...'; exit" SIGHUP SIGINT SIGTERM

0 comments on commit af5c05f

Please sign in to comment.
Something went wrong with that request. Please try again.