diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-10-27 00:46:15 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-10-27 00:46:15 +0900 |
| commit | 1d6ea8120552665072f5044a004128e7dbbf3a64 (patch) | |
| tree | 1ea0b9d2f687909cdd5fab3fbf50c473f942e7cf /internal/app/system.go | |
| parent | ae1a102882103221ef842176dfd8cb1090d5f591 (diff) | |
shim: user switcher process management struct
This change moves all user switcher and shim management to the shim package and withholds output while shim is alive. This also eliminated all exit scenarios where revert is skipped.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/system.go')
| -rw-r--r-- | internal/app/system.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/app/system.go b/internal/app/system.go index 7ccc2eeb..74b8e611 100644 --- a/internal/app/system.go +++ b/internal/app/system.go @@ -22,6 +22,8 @@ type appSealSys struct { // target user sealed from config user *user.User + needRevert bool + saveState bool *system.I // protected by upstream mutex |
