koalaman / shellcheck

ShellCheck, a static analysis tool for shell scripts
https://www.shellcheck.net
GNU General Public License v3.0
36.43k stars 1.78k forks source link

Error on Output: Docker returns error when writing to a file still. #1505

Closed codemonkeyrawks closed 4 years ago

codemonkeyrawks commented 5 years ago

For bugs

For new checks and feature suggestions

@koalaman : Following up on Pull #1495

I have fixed my script : it appears that I must use a fork command when building on GitLab being that if I want it to write to a file instead of checking in-line to fork the process such that no errors happen.

Fix: https://gitlab.com/codemonkeyrawks/Rose/-/jobs/170344134

I don't know if you can at some point add something such that it only write to a file and return no issues would be nice. For some reason Docker sees the resultant error : I would like the error to write to a text file only. Thanks!

codemonkeyrawks commented 5 years ago

I have updated the Fix over to: https://github.com/codemonkeyrawks/Debian (Rose no longer exists).