mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Exit code and logging invariants for log_fatal and hardware log_error
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
This commit is contained in:
parent
c2d46f4039
commit
c6951393e8
16 changed files with 193 additions and 114 deletions
|
|
@ -1228,7 +1228,7 @@ int state_device(struct snapraid_state* state, int operation, tommy_list* filter
|
|||
case DEVICE_PROBE : ope = "Probe"; break;
|
||||
case DEVICE_DOWNIFUP : ope = "Spindown"; break;
|
||||
}
|
||||
log_fatal(ESOFT, "%s is unsupported in this platform.\n", ope);
|
||||
log_error(ESOFT, "%s is unsupported in this platform.\n", ope);
|
||||
} else {
|
||||
state_stat(state, &high);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue