Unnecessary Exec Command Medium

The 'exec' command replaces the current process with a new one, preventing subsequent script execution. If intended to execute a command and continue script execution, remove the 'exec' keyword.

Detector ID
shell/unnecessary-exec-command@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-