summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-31 19:51:40 +0100
committerErich Eckner <git@eckner.net>2018-01-31 19:51:40 +0100
commit6a6f1b61929090db2d923b6c43e71f1804dd4851 (patch)
treee275e47a9c87ef7f321a2ae2a3eb2e94a305c632
parent1400cf86f0e693c458c22a3ec33382cdb02ac71c (diff)
downloadupdate-all-6a6f1b61929090db2d923b6c43e71f1804dd4851.tar.xz
update-me.in: fix typo
-rw-r--r--update-me.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index e5f194b..8eac876 100644
--- a/update-me.in
+++ b/update-me.in
@@ -11,7 +11,7 @@ fi
. #ETCDIR#/update-me.conf
if "${hasSudo}"; then
- for ((i=0; i<${postCmds[@]}; i++)); do
+ for ((i=0; i<${#postCmds[@]}; i++)); do
if [ "${postCmd[${i}]}" = 'check-kernel -r' ]; then
postCmd[${i}]='sudo check-kernel -r';
fi