Commit dc0ccfc
committed
driver/shelldriver: handle existing /tmp/labgrid-ssh/ gracefully
When activating -> deactivating -> activating a ShellDriver or forcing a
strategy shell state that put an SSH key on the target in a prior run,
mkdir fails because the directory already exists. That should not be an
error, so add `-p` to the mkdir invocation.
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent e43d093 commit dc0ccfc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments