upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/fuzz_script.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 16:59:30 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 16:59:30 +0000
commit3d6373874f3972b776dd48e86321b1f8c78cd23b (patch)
tree40dc43bd29bc4c7370ed5c32b1a802cbc1db9c1a /src/fuzz_script.cpp
parent9886a4680cd669f376eec1bf18da7ad10057dd38 (diff)
build: say so when apt-get update fails instead of passing over it
34cb6e6 added `apt-get update;` before the install. The semicolon means a failed update does not stop the install, which is the behaviour we want -- one unreachable repository should not block an install the lists already on disk can satisfy -- but it was punctuation rather than a decision, and it was silent. The install then failed several seconds later with "unable to locate package" and nothing tied the two together. Kept it non-fatal, made it explicit with `|| echo`, and wrote the reasoning down next to it. The install itself is still the last command in the branch, so a failed install is still the target's status. Measured all four combinations with apt-get shimmed: a failed update now warns and carries on, a failed install still aborts.
Diffstat (limited to 'src/fuzz_script.cpp')
0 files changed, 0 insertions, 0 deletions