Merge pull request #827 from abucodonosor/finished

finished: use generic shutdown command
This commit is contained in:
Adriaan de Groot 2017-10-04 14:33:14 +02:00 committed by GitHub
commit b47c8a72df

View File

@ -178,7 +178,7 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
configurationMap.value( "restartNowCommand" ).type() == QVariant::String ) configurationMap.value( "restartNowCommand" ).type() == QVariant::String )
m_widget->setRestartNowCommand( configurationMap.value( "restartNowCommand" ).toString() ); m_widget->setRestartNowCommand( configurationMap.value( "restartNowCommand" ).toString() );
else else
m_widget->setRestartNowCommand( "systemctl -i reboot" ); m_widget->setRestartNowCommand( "shutdown -r now" );
} }
} }
if ( configurationMap.contains( "notifyOnFinished" ) && if ( configurationMap.contains( "notifyOnFinished" ) &&