mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
fsck: use our usual syntax for defining bit masks
This commit is contained in:
parent
b257b19e6b
commit
5d3bab79e8
@ -34,14 +34,14 @@
|
||||
|
||||
/* exit codes as defined in fsck(8) */
|
||||
enum {
|
||||
FSCK_SUCCESS = 0,
|
||||
FSCK_ERROR_CORRECTED = 1,
|
||||
FSCK_SYSTEM_SHOULD_REBOOT = 2,
|
||||
FSCK_ERRORS_LEFT_UNCORRECTED = 4,
|
||||
FSCK_OPERATIONAL_ERROR = 8,
|
||||
FSCK_USAGE_OR_SYNTAX_ERROR = 16,
|
||||
FSCK_USER_CANCELLED = 32,
|
||||
FSCK_SHARED_LIB_ERROR = 128,
|
||||
FSCK_SUCCESS = 0,
|
||||
FSCK_ERROR_CORRECTED = 1 << 0,
|
||||
FSCK_SYSTEM_SHOULD_REBOOT = 1 << 1,
|
||||
FSCK_ERRORS_LEFT_UNCORRECTED = 1 << 2,
|
||||
FSCK_OPERATIONAL_ERROR = 1 << 3,
|
||||
FSCK_USAGE_OR_SYNTAX_ERROR = 1 << 4,
|
||||
FSCK_USER_CANCELLED = 1 << 5,
|
||||
FSCK_SHARED_LIB_ERROR = 1 << 7,
|
||||
};
|
||||
|
||||
static bool arg_skip = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user