diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-09-17 13:48:42 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-09-17 13:48:42 +0900 |
| commit | 4b7d616862dc7d8c73561b85deb0ca1fabf30781 (patch) | |
| tree | d069af086d1fcfeca2f9a629e0f3eb3e2f19500f /internal/util/early.go | |
| parent | 6a6f62efa672bdb439c2f9056055193a53c1df01 (diff) | |
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 <cat@ophivana.moe>
Diffstat (limited to 'internal/util/early.go')
| -rw-r--r-- | internal/util/early.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/internal/util/early.go b/internal/util/early.go deleted file mode 100644 index ba7375c7..00000000 --- a/internal/util/early.go +++ /dev/null @@ -1,12 +0,0 @@ -package util - -import "fmt" - -var SdBootedV = func() bool { - if v, err := SdBooted(); err != nil { - fmt.Println("warn: read systemd marker:", err) - return false - } else { - return v - } -}() |
