Commit c23e08c
committed
fix: do not attempt ps if viseron already exited
Avoid errors like this:
> [viseron-finish] Viseron exit code 256
> [viseron-finish] Shutdown completed at Sat Jun 20 18:53:38 CEST 2026
>
> [viseron-finish] Viseron received signal 9
> [cont-finish.d] executing container finish scripts...
> [cont-finish.d] 10-postgres: executing...
> Wait for Viseron to stop...
> error: list of process IDs must follow -p
>
> Usage:
> ps [options]
>
> Try 'ps --help <simple|list|output|threads|misc|all>'
> or 'ps --help <s|l|o|t|m|a>'
> for additional help text.
>
> For more details see ps(1).
> Viseron has stopped!
>1 parent 404f547 commit c23e08c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments