mirror of
https://github.com/systemd/systemd.git
synced 2024-12-02 23:03:50 +08: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 New Issue
Block a user