mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Fix default restart command.
This commit is contained in:
parent
eb2748bab0
commit
4e869b2211
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ FinishedPage::setUpRestart()
|
||||||
{
|
{
|
||||||
if ( ui->restartCheckBox->isVisible() &&
|
if ( ui->restartCheckBox->isVisible() &&
|
||||||
ui->restartCheckBox->isChecked() )
|
ui->restartCheckBox->isChecked() )
|
||||||
QProcess::execute( "/bin/sh", { m_restartNowCommand } );
|
QProcess::execute( "/bin/sh", { "-c", m_restartNowCommand } );
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
restartNowEnabled: true
|
restartNowEnabled: true
|
||||||
restartNowChecked: false
|
restartNowChecked: false
|
||||||
restartNowCommand: "systemctl -i reboot"
|
restartNowCommand: /bin/sh -c "systemctl -i reboot"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue