mirror of
https://github.com/tw93/Mole.git
synced 2026-03-23 00:50:08 +00:00
refactor: Update shell arithmetic increment syntax from ((var++)) || true to var=$((var + 1)) across various scripts.
This commit is contained in:
@@ -208,7 +208,7 @@ clean_project_caches() {
|
||||
break
|
||||
fi
|
||||
sleep 0.1
|
||||
((grace_period++)) || true
|
||||
grace_period=$((grace_period + 1))
|
||||
done
|
||||
if kill -0 "$pid" 2> /dev/null; then
|
||||
kill -KILL "$pid" 2> /dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user