Skip to content

Commit

Permalink
Corrected command
Browse files Browse the repository at this point in the history
  • Loading branch information
o-marshmallow committed Sep 12, 2016
1 parent ae9e4c3 commit 1bfa8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/InputSettingsPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void InputSettingsPage::buttonClicked(Button* but){
if(but == backButton)
getMainStack().popPage(PageStackComponent::kTransitionTranslateHorizontal);
else if(but == &calibrating){
int ret = system("vala-terminal -fs 8 -g 20 20 -e 'xinput_calibrator'");
int ret = system("vala-terminal -fs 8 -g 20 20 -e 'xinput_calibrator && exit'");
if(ret == -1)
AlertWindow::showMessageBox(AlertWindow::WarningIcon, "Error", "Failed launching vala-terminal, is it installed ?");
}
Expand Down

0 comments on commit 1bfa8e1

Please sign in to comment.