Detect degraded filesystems in device commands and exit with EXIT_DEGRADED

This commit is contained in:
Andrea Mazzoleni 2026-09-18 23:28:47 +02:00
parent 2a4335ef7d
commit 929ba5cebe
47 changed files with 183 additions and 4 deletions

View file

@ -17,6 +17,7 @@
int exit_success = 0;
int exit_failure = 1;
int exit_sync_needed = 2;
int exit_degraded = 3;
/****************************************************************************/
/* signal */