You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joachim Ansorg edited this page Nov 12, 2021
·
2 revisions
Couldn't find done for this do.
Problematic code:
yes() {
whileecho"y"dotrue
}
Correct code:
yes() {
whileecho"y"dotruedone
}
Rationale:
ShellCheck found a do without a corresponding done.
Double check that the done exists, and that it correctly matches the indicated do. A companion warning SC1062 is emitted where ShellCheck first noticed it was missing.