mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
oomd: shorten message
We can make the message shorter and more direct without changing the meaning.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user