1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/scripts
W. Trevor King 7555f98c70 scripts/maintenance/virsh-cleanup: shellcheck cleanup
Address [1]:

.../virsh-cleanup.sh:4:1: note: read without -r will mangle backslashes. [SC2162]
.../virsh-cleanup.sh:26:63: note: read without -r will mangle backslashes. [SC2162]
.../virsh-cleanup.sh:26:75: warning: DETAILS appears unused. Verify use (or export if used externally). [SC2034]

I don't expect any backslashes in these values, but it doesn't hurt to
protect against them anyway.  And using _ instead of DETAILS for the
dummy variable that keeps VOLUME limited to the first field seems to
be enough to avoid SC2034 triggering.

[1]: https://travis-ci.org/openshift/installer/jobs/411041440#L388
2018-08-02 08:15:36 -07:00
..