summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/pgxc_ctl/make_signature3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/pgxc_ctl/make_signature b/contrib/pgxc_ctl/make_signature
index d395794bba..661b5d3d80 100755
--- a/contrib/pgxc_ctl/make_signature
+++ b/contrib/pgxc_ctl/make_signature
@@ -29,6 +29,9 @@
# the integrity between the two.
#------------------------------------------------------------------------
+# make sure we fail if any of the executed commands fails
+set -e
+
sig=`date +%y%m%d_%H%M_%N`
cat > signature.h <<EOF
/*-------------------------------------------------------------------------