Commit c51daf9
committed
cmd/startlog: initialize enum to non zero
Problem: The enum POST_FLAG_FLUSH was not initialized, therefore
it defaults to 0. This means when a user passes a flag of "0", it
ends up being equal to POST_FLAG_FLUSH, leading to undesired behavior.
Initialize POST_FLAG_FLUSH to 1.
Fixes #61681 parent 81b6ef3 commit c51daf9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments