Commit a71a1e3
committed
fix(tools.func): handle empty grep results in stop_all_services
The stop_all_services function failed when grep found no matching
services, causing exit code 1 in pipefail mode.
Changed to capture grep output with || true fallback and only
process if services were found.
Fixes #9741 (Baikal update error)1 parent 97ac252 commit a71a1e3
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | | - | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments