Commit ff5efa3
ncm-altlogrotate: check the value of $overallglobal
If there is an entry named 'global', the @Globals list will be empty when reaching the if of line 138,
and if we don't check the value of $overallglobal (that is switched to 1 in case of an entry named 'global'),
then the block of code modifying the global configuration file will be skipped.1 parent 49c7b13 commit ff5efa3
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
| 138 | + | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments