Skip to content

Commit

Permalink
fix(linux): use correct setap command in logs (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Apr 10, 2024
1 parent 7602fa1 commit ad5b816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/linux/kmsgrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ namespace platf {
if (!fb->handles[0]) {
BOOST_LOG(error) << "Couldn't get handle for DRM Framebuffer ["sv << plane->fb_id << "]: Probably not permitted"sv;
BOOST_LOG((window_system != window_system_e::X11 || config::video.capture == "kms") ? fatal : error)
<< "You must run [sudo setcap cap_sys_admin+p $(readlink -f sunshine)] for KMS display capture to work!"sv;
<< "You must run [sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))] for KMS display capture to work!"sv;
break;
}

Expand Down

0 comments on commit ad5b816

Please sign in to comment.