Commit d71deec
Merge #152890
152890: roachprod: potential shell syntax error in fips r=srosenberg,herkolategan a=golgeek
Previous patch #137555 introduced a check on FIPS enablement in a FIPS environment.
To avoid a potential shell syntax error if this code was to be executed outside of a Ubuntu Pro FIPS environment, this patch adds quotes around the result of the `pro status` command result to avoid an `[: !=: unary operator expected` error.
Epic: none
Release note: None
Co-authored-by: Ludovic Leroux <ludo.leroux@cockroachlabs.com>1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments