Skip to content

Commit

Permalink
core: remove suggestion about adding CAP_SYS_NICE
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Jan 27, 2024
1 parent 717ab5d commit a61f8fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/picom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2567,9 +2567,7 @@ void set_rr_scheduling(void) {
param.sched_priority = priority;
ret = sched_setscheduler(0, SCHED_RR, &param);
if (ret != 0) {
log_info("Failed to set real-time scheduling priority to %d. Consider "
"giving picom the CAP_SYS_NICE capability",
priority);
log_info("Failed to set real-time scheduling priority to %d.", priority);
return;
}
log_info("Set real-time scheduling priority to %d", priority);
Expand Down

0 comments on commit a61f8fe

Please sign in to comment.