aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-11-17 12:02:08 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-11-17 12:02:08 +0100
commit1c545d73599df8bc0684266d1772f4532bcde02a (patch)
treeefa699121a5de25ce7439ade1e1a99c62a5c8190
parent9fc5ae560c1600b58aefcbe40cfe6e5b165cd773 (diff)
downloadbashtard-1c545d73599df8bc0684266d1772f4532bcde02a.tar.gz
bashtard-1c545d73599df8bc0684266d1772f4532bcde02a.tar.bz2
Small stylistic change
-rw-r--r--lib/util.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.bash b/lib/util.bash
index ad84247..1d6f49a 100644
--- a/lib/util.bash
+++ b/lib/util.bash
@@ -55,7 +55,7 @@ die() {
esac
done
- shift $(( OPTIND -1 ))
+ shift $(( OPTIND - 1 ))
alert "$@"
exit "${code:-1}"
@@ -94,7 +94,7 @@ fetch_http() {
esac
done
- shift $(( OPTIND -1 ))
+ shift $(( OPTIND - 1 ))
[[ -z $buffer ]] && buffer="$(tmpfile)"