Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: isolate.cpp
- ===================================================================
- --- isolate.cpp (revision 12)
- +++ isolate.cpp (working copy)
- @@ -282,7 +282,9 @@
- cmnd = confinement_path + "/tmp/.X11-unix";
- mkdir(cmnd.c_str(), 0777);
- cmnd = LN + " /tmp/.X11-unix/X0 " + confinement_path + "/tmp/.X11-unix/X0";
- - system(cmnd.c_str());
- + if( system(cmnd.c_str()) == -1 ) {
- + cerr << "Warning: Could not execute command \"" << cmnd << "\": " << strerror(errno);
- + }
- restore_privilege();
- }
Add Comment
Please, Sign In to add comment