diff options
author | Erich Eckner <git@eckner.net> | 2018-01-31 19:51:40 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-31 19:51:40 +0100 |
commit | 6a6f1b61929090db2d923b6c43e71f1804dd4851 (patch) | |
tree | e275e47a9c87ef7f321a2ae2a3eb2e94a305c632 | |
parent | 1400cf86f0e693c458c22a3ec33382cdb02ac71c (diff) | |
download | update-all-6a6f1b61929090db2d923b6c43e71f1804dd4851.tar.xz |
update-me.in: fix typo
-rw-r--r-- | update-me.in | 2 |
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 |