fix: quote quadlet environment values

This commit is contained in:
Dorian
2026-05-14 01:15:22 -04:00
parent be50dc3235
commit f95e9a1cd0
3 changed files with 31 additions and 3 deletions
@@ -160,7 +160,7 @@ export function getStatusLabel(state: PackageState, health?: string | null, exit
if (state === PackageState.Running && health === 'unhealthy') return 'unhealthy'
if (state === PackageState.Running && health === 'healthy') return 'healthy'
if (state === PackageState.Exited) {
if (exitCode === 137) return 'killed (OOM)'
if (exitCode === 137) return 'killed (SIGKILL)'
if (exitCode != null && exitCode !== 0) return 'crashed'
return 'stopped'
}
+1 -1
View File
@@ -184,7 +184,7 @@ export function getStatusLabel(state: PackageState, health?: string | null, exit
if (state === PackageState.Updating) return 'updating...'
if (state === PackageState.Running) return 'running'
if (state === PackageState.Exited || state === PackageState.Stopped) {
if (exitCode === 137) return 'killed (OOM)'
if (exitCode === 137) return 'killed (SIGKILL)'
if (exitCode != null && exitCode !== 0) return 'crashed'
return 'stopped'
}