Skip to content

Commit

Permalink
Set RM2FB_ACTIVE environment variable
Browse files Browse the repository at this point in the history
Multiple applications test this to determine if rm2fb is running
  • Loading branch information
Eeems authored May 25, 2024
1 parent 2c826ae commit 9d560f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/rm2fb/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ __libc_start_main(int (*_main)(int, char**, char**),

setenv("RM2FB_SHIM", "1", true);
setenv("RM2STUFF_RM2FB", "1", true);
setenv("RM2FB_ACTIVE", "1", true);

if (fb.mem == nullptr) {
std::cout << "No rm2fb shared memory\n";
Expand Down

0 comments on commit 9d560f5

Please sign in to comment.