Skip to content
Snippets Groups Projects
Commit cb0b2606 authored by chrfranke's avatar chrfranke
Browse files

update-smart-drivedb.in: Don't use 'let' which is bash specific.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5358 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 4c6cfeed
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ $Id$
2022-04-24 Christian Franke <franke@computer.org>
update-smart-drivedb.in: Don't use 'let' which is bash specific.
update-smart-drivedb.in: Don't use semicolon in sed scripts.
This also fixes a syntax error if sed requires ';' before '}'.
......
......@@ -527,7 +527,7 @@ gpg_verify()
# Remove temp home dir, retry on failure
i=0
while ! out=`rm -f -r "$gnupgtmp" 2>&1`; do
let ++i
i=$((i+1))
if [ $i -ge 10 ]; then
echo "$out" >&2; break
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment