platform/pc: don't support poweroff

Fixes #5216
This commit is contained in:
Alexander Boettcher 2024-05-24 08:46:27 +02:00 committed by Christian Helmuth
parent 889f1f5488
commit 65ca9ee906

View File

@ -114,10 +114,6 @@ void Driver::Main::_system_update()
/* report independent of result */
_common.report_resume();
}
if (state == "poweroff") {
try { _suspend("S5"); } catch (...) { error("poweroff failed"); }
}
}