]> git.ipfire.org Git - thirdparty/man-pages.git/commit
src/bin/duffman: Handle errors correctly
authorAlejandro Colomar <alx@kernel.org>
Thu, 9 Jan 2025 12:32:20 +0000 (13:32 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 11 Jan 2025 19:00:57 +0000 (20:00 +0100)
commit3977fb05c8075fa3701e40fc9bd465d3aafb116e
treeb01e452b4cd1748dcb94b9fce5147beb868c64fc
parent06bf2c90a574cb55e92494a925a2da1cfdd35738
src/bin/duffman: Handle errors correctly

In src/bin/duffman line 30:
cd $(git rev-parse --show-toplevel);
   ^-- SC2046 (warning): Quote this to prevent word splitting.
     ^---------------------------^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).

Reported-by: shellcheck(1)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/bin/duffman