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