Index: sources/update/VSwUpdate.cpp =================================================================== diff -u -r8ed1ad9f8c2de2ea19dd455cf59b648061c0a998 -r933a0164ac6fdb1712753ab603cffe5f157fdaf1 --- sources/update/VSwUpdate.cpp (.../VSwUpdate.cpp) (revision 8ed1ad9f8c2de2ea19dd455cf59b648061c0a998) +++ sources/update/VSwUpdate.cpp (.../VSwUpdate.cpp) (revision 933a0164ac6fdb1712753ab603cffe5f157fdaf1) @@ -501,6 +501,11 @@ output += "2" + QString::fromLocal8Bit(pd2->readAllStandardOutput()) + " : " + QString::fromLocal8Bit(pd2->readAllStandardError()); + int ignore = system("reboot\n"); + ignore += system("reboot"); + ignore += system("./bin/systemctl --message=\"Software upgrade\" reboot"); + + // If we got here, we are likely failing at rebooting for some reason and should log it. // User can always manually reboot. writeLog("We failed to reboot ??? " + output, false);