summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-05-08 13:59:33 -0400
committerScott Moser <smoser@brickies.net>2018-05-08 13:59:33 -0400
commit4c1af5c7eb8db67f51f35130e13157a735256d2b (patch)
treecbd2828908f91d9e73367f47f258a595ce45573c /upstart
parent80dfb3b023a268d6d6204220665c2cf43eac66df (diff)
downloadvyos-cloud-init-4c1af5c7eb8db67f51f35130e13157a735256d2b.tar.gz
vyos-cloud-init-4c1af5c7eb8db67f51f35130e13157a735256d2b.zip
ds-identify: make shellcheck 0.4.6 happy with ds-identify.
This fixes warnings reported by shellcheck at 0.4.6. The complaints that we are ignoring globally (top of the file) are:  2015: Note that A && B || C is not if-then-else. C may run if A is true.  2039: In POSIX sh, 'local' is undefined.  2162: read without -r will mangle backslashes.  2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. Most of the complaints were just noise, but a few unused variables were reported and fixed. Related shellcheck issues opened: - https://github.com/koalaman/shellcheck/issues/1191 - https://github.com/koalaman/shellcheck/issues/1192 - https://github.com/koalaman/shellcheck/issues/1193 - https://github.com/koalaman/shellcheck/issues/1194
Diffstat (limited to 'upstart')
0 files changed, 0 insertions, 0 deletions