diff --git a/source/ublexec.cc b/source/ublexec.cc index 69faecf..dfd2e52 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -579,7 +579,6 @@ string MainWindow::start_cmd(string user_cmd) { } else if (rbSudo->get_active()) { chbTerminal->set_active(true); - //if (getlogin()==cmbUser->get_active_text()) { if (user_exec_app==cmbUser->get_active_text()) { str_variants_root = "sudo "; } @@ -643,8 +642,6 @@ string MainWindow::start_cmd(string user_cmd) { } cmd = "nohup " + cmd; cmd += " > /dev/null 2>&1"; - //string str_remove = " "; - //this->str_remove(cmd, str_remove); return cmd; }