mirror of
https://github.com/systemd/systemd
synced 2026-03-28 17:54:51 +01:00
Compare commits
2 Commits
929ce35f8d
...
4ae16cf9b7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ae16cf9b7 | ||
|
|
ce3acf9acb |
@ -1621,7 +1621,7 @@ static int parse_argv(int argc, char *argv[], Context *c) {
|
||||
|
||||
case ARG_JSON:
|
||||
r = parse_json_argument(optarg, &arg_json_format_flags);
|
||||
if (r < 0)
|
||||
if (r <= 0)
|
||||
return r;
|
||||
break;
|
||||
|
||||
|
||||
@ -298,7 +298,7 @@ int dlopen_cryptsetup(void) {
|
||||
|
||||
return 1;
|
||||
#else
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in.");
|
||||
return log_debug_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in.");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user