shim: get rid of insane launch condition

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-10-13 12:09:38 +09:00
parent e4536b87ad
commit b470941911
5 changed files with 16 additions and 15 deletions

View File

@@ -35,10 +35,8 @@ func main() {
verbose.Println("system booted with systemd as init system")
}
// launcher payload early exit
if printVersion && printLicense {
shim.Try()
}
// shim early exit
shim.Try()
// version/license/template command early exit
tryVersion()