mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 23:38:25 +00:00
clean should return consistent exit codes
Regardless of what codes are used internally, swupd should always exit with a code defined in swupd_exit_codes.h. This commit makes those changes for clean. Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
This commit is contained in:
committed by
Otavio Pontes
parent
bfdebbaf3e
commit
ff18daa680
@@ -44,6 +44,7 @@ export SWUPD_COULDNT_RENAME_FILE=28 # couldn't rename a file
|
||||
export SWUPD_SUBPROCESS_ERROR=29 # failure to execute another program in a subprocess
|
||||
export SWUPD_COULDNT_LIST_DIR=30 # couldn't list the content of a directory
|
||||
export SWUPD_COMPUTE_HASH_ERROR=31 # there was an error computing the hash of the specified file
|
||||
export SWUPD_COULDNT_GET_TIME=32 # couldn't get current system time
|
||||
|
||||
# global constant
|
||||
export zero_hash="0000000000000000000000000000000000000000000000000000000000000000"
|
||||
|
||||
Reference in New Issue
Block a user