diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-17 12:10:55 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-17 12:10:55 +0200 |
commit | 91d0e2cd07f58c44b25e78ec15fee26ede676ddb (patch) | |
tree | 2b3597308fce9e99939fa29ada74ea41b4057d19 | |
parent | 71a2e5b51dac875b121b7c1fc0be88407c31486f (diff) | |
download | dwim-91d0e2cd07f58c44b25e78ec15fee26ede676ddb.tar.gz |
dwim: Exit if header file was not found
-rwxr-xr-x | dwim | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ for ($phrase) { } close $h; fail 'header file not found'; + exit 1; } if (/(?:\+\+\+|---) (\S+) .*$@@ -(\d+)/ms) { |