diff options
Diffstat (limited to 'internal/app')
| -rw-r--r-- | internal/app/launch.machinectl.go | 4 | ||||
| -rw-r--r-- | internal/app/launch.sudo.go | 2 |
2 files changed, 3 insertions, 3 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()) diff --git a/internal/app/launch.sudo.go b/internal/app/launch.sudo.go index 777cb2a7..3e364ace 100644 --- a/internal/app/launch.sudo.go +++ b/internal/app/launch.sudo.go @@ -26,7 +26,7 @@ func (a *app) commandBuilderSudo(shimEnv string) (args []string) { args = append(args, shimEnv) // -- $@ - args = append(args, "--", a.seal.sys.executable, "-V", "--license") // magic for shim.Try() + args = append(args, "--", a.seal.sys.executable, "shim") return } |
