From 4b7d616862dc7d8c73561b85deb0ca1fabf30781 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Tue, 17 Sep 2024 13:48:42 +0900 Subject: exit: move final and early code to internal package Exit cleanup state information is now stored in a dedicated struct and built up using methods of that struct. Signed-off-by: Ophestra Umiker --- flag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flag.go') diff --git a/flag.go b/flag.go index f69f8f33..04bc329f 100644 --- a/flag.go +++ b/flag.go @@ -3,7 +3,7 @@ package main import ( "flag" - "git.ophivana.moe/cat/fortify/internal/util" + "git.ophivana.moe/cat/fortify/internal" ) var ( @@ -44,7 +44,7 @@ func init() { func init() { methodHelpString := "Method of launching the child process, can be one of \"sudo\", \"bubblewrap\"" - if util.SdBootedV { + if internal.SdBootedV { methodHelpString += ", \"systemd\"" } -- cgit v1.3.1