Unclosed Do Statement Medium

A shell script contains a loop structure with do keyword but missing the required done terminator, causing syntax error. To mitigate this, add done after the last command in the loop body.

Detector ID
shell/unclosed-do-statement@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-