aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-11-19 14:46:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-11-19 14:46:57 +1300
commita45ab6640daf86a0bda8651046b7c7a0d641d1a6 (patch)
tree03e1e6f1a9f443f01cbfcee27eeeffc97d324564
parentMerge branch 'release/v10.18.0' into develop (diff)
downloaddotfiles-a45ab6640daf86a0bda8651046b7c7a0d641d1a6.tar.gz
dotfiles-a45ab6640daf86a0bda8651046b7c7a0d641d1a6.zip
Remove superfluous `exit` calls at end of `BEGIN`
Thanks izabera
-rw-r--r--bin/rndi.awk3
-rw-r--r--bin/uts.awk1
2 files changed, 0 insertions, 4 deletions
diff --git a/bin/rndi.awk b/bin/rndi.awk
index 7d9c640b..44989d11 100644
--- a/bin/rndi.awk
+++ b/bin/rndi.awk
@@ -30,9 +30,6 @@ BEGIN {
# Print a random integer bounded by the first and second arguments
print int(lower + rand() * (upper - lower + 1))
-
- # Bail before processing any lines
- exit
}
# Bailout function
diff --git a/bin/uts.awk b/bin/uts.awk
index 3aaec2ab..a7b3ef5d 100644
--- a/bin/uts.awk
+++ b/bin/uts.awk
@@ -2,5 +2,4 @@
BEGIN {
srand()
print srand()
- exit
}