diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-04-01 00:15:04 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-03 14:08:50 +0200 |
commit | 0012b36c148dcd9a68d16a24168dee464beb2da9 (patch) | |
tree | a9cff444586334a0e67bf29f590532be899df525 /docs/manual | |
parent | 1ba85b7f874d926412eb4687e303cea441d65fec (diff) | |
download | buildroot-0012b36c148dcd9a68d16a24168dee464beb2da9.tar.gz buildroot-0012b36c148dcd9a68d16a24168dee464beb2da9.zip |
support/download: return different exit codes for different failures
Return different exit codes depending on the error that occured:
0: no error (hash file missing, or all hashes match)
1: unknown option
2: hash file exists, but at least one hash in error
3: hash file exists, but no hash for file to check
4: hash file exists, but at least one hash type unknown
This will be used in a later patch to decide whether the downloaded file
should be kept or removed.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions