V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m52s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m52s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# SPDX-PackageName: CISS.debian.installer
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
guard_sourcing
|
||||
guard_sourcing || return "${ERR_GUARD_SOURCE}"
|
||||
|
||||
### Definition of error codes.
|
||||
|
||||
@@ -60,6 +60,8 @@ declare -girx ERR_VERIFY_LOGROTATE=213 # Error verification by 'logrotate'.
|
||||
declare -girx ERR_READ_AUTH_FILE=212 # Error reading the Luks Backup auth token file.
|
||||
declare -girx ERR_ACCOUNT_CREATE=211 # Error creating user accounts.
|
||||
declare -girx ERR_LUKS_HEADER_ENC=210 # Error encrypting LUKS Header backup.
|
||||
declare -girx ERR_MISSING_AGE_KEY=129 # AGE key for decryption SECRETS.yaml values missing.
|
||||
declare -girx ERR_GUARD_SOURCE=128 # Module tried to load twice.
|
||||
|
||||
### Definition of error trap vars.
|
||||
declare -gx ERRCODE="" # = $? = $1 = ERRCODE
|
||||
|
||||
Reference in New Issue
Block a user