Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffac-mt7915e-hotfix: silence stderr from ls command in cron #134

Merged
merged 2 commits into from
Sep 2, 2024

silence stderr from ls command in cron

0db5b86
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

ffac-mt7915e-hotfix: silence stderr from ls command in cron #134

silence stderr from ls command in cron
0db5b86
Select commit
Loading
Failed to load commit list.
GitHub Actions / shellcheck failed Aug 30, 2024 in 0s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (1)

ffac-mt7915-hotfix/files/lib/gluon/mt7915/reboot-on-error.sh|2 col 55| To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).

Filtered Findings (0)

Annotations

Check warning on line 2 in ffac-mt7915-hotfix/files/lib/gluon/mt7915/reboot-on-error.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] ffac-mt7915-hotfix/files/lib/gluon/mt7915/reboot-on-error.sh#L2 <ShellCheck.SC2069>

To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
Raw output
./ffac-mt7915-hotfix/files/lib/gluon/mt7915/reboot-on-error.sh:2:55: warning: To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). (ShellCheck.SC2069)