aboutsummaryrefslogtreecommitdiffstats
path: root/chapter7/perl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter7/perl.sh')
-rw-r--r--chapter7/perl.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/chapter7/perl.sh b/chapter7/perl.sh
index 970e17c..627e3e5 100644
--- a/chapter7/perl.sh
+++ b/chapter7/perl.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
MAJMIN="$(cut -d\. -f1,2 <<< "${VERSION}")"