Y
Hacker News
new
|
ask
|
show
|
jobs
by
gcmrtc
2427 days ago
Why `&& true` after that apt command?
2 comments
kvz
2427 days 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.
link
gtirloni
2427 days 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.
link