Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gcmrtc
· 7y ago · 0 comments
Why `&& true` after that apt command?
Comments
[–]
kvz
7y ago
Author here. It's a noop that lets me put a \ after each lines (not all lines except the last) which lets me re-order commands easily. It's a bit like enjoying trailing comma's for all elements/lines in an array. I agree it's a bit weird.
[–]
gtirloni
7y ago
Maybe it's a typo and they meant "|| true" to always return success?
Yeah, at a quick glance I don't see what that's achieving.