mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
oomd: shorten message
We can make the message shorter and more direct without changing the meaning.
This commit is contained in:
parent
ed7a6f51ea
commit
d0cf9a9562
|
@ -146,7 +146,7 @@ static int run(int argc, char *argv[]) {
|
|||
|
||||
r = safe_atollu(swap, &s);
|
||||
if (r < 0 || s == 0)
|
||||
log_warning("Swap is currently not detected; memory pressure usage will be degraded");
|
||||
log_warning("No swap; memory pressure usage will be degraded");
|
||||
|
||||
if (!is_pressure_supported())
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Pressure Stall Information (PSI) is not supported");
|
||||
|
|
Loading…
Reference in a new issue