aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/launch.machinectl.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-13 12:09:38 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-13 12:09:38 +0900
commitb47094191145277319b81feb6d1a7f0e3e20b906 (patch)
tree55770baea2b1166e1d8c0ad9a730318c6fee3d8a /internal/app/launch.machinectl.go
parente4536b87ad5bc23096eab00f17ac55b7aad23996 (diff)
shim: get rid of insane launch condition
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/launch.machinectl.go')
-rw-r--r--internal/app/launch.machinectl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/launch.machinectl.go b/internal/app/launch.machinectl.go
index 59efd553..9fb9ea0b 100644
--- a/internal/app/launch.machinectl.go
+++ b/internal/app/launch.machinectl.go
@@ -57,8 +57,8 @@ func (a *app) commandBuilderMachineCtl(shimEnv string) (args []string) {
}
}
- // both license and version flags need to be set to activate shim path
- innerCommand.WriteString("exec " + a.seal.sys.executable + " -V -license")
+ // launch fortify as shim
+ innerCommand.WriteString("exec " + a.seal.sys.executable + " shim")
// append inner command
args = append(args, innerCommand.String())