silence stderr from ls command in cron #606
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
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)
Loading