Skip to content

Commit

Permalink
make option for no pkexec
Browse files Browse the repository at this point in the history
  • Loading branch information
Latrolage authored May 25, 2022
1 parent 0b5611f commit 2972e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoaccept.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "curling.cpp"

int main() {
system("pkexec sh -c 'sysctl -w abi.vsyscall32=0' > /dev/null");
(argc != 1 && static_cast<std::string>(argv[1]) == "--nopkexec") ? : system("pkexec sh -c 'sysctl -w abi.vsyscall32=0' > /dev/null");
std::cout << "STARTED LEAGUEAUTOACCEPT" << std::endl;
// std::cout << std::unitbuf;
while (true) {
Expand Down

0 comments on commit 2972e3c

Please sign in to comment.