Commit 6bb039d
committed
cli/config/configfile: Make sure to not leak a temp config behind.
In the unlikely event that we fail to rename the temp config file to the
destination file, don't leave the temp config file behind as this could
cause temp files to pile up in ~/.docker for example if there is a
permission problem.
Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>1 parent 82dff32 commit 6bb039d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
189 | | - | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments