diff options
Diffstat (limited to 'update-me.in')
-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 |