Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Right now cleanup is partially broken: If the tmppath exists, then its content is removed at the end as expected. However, if the tmppath is missing then it is created but nothing is removed. Change this to remove the directory including its content at the end when the directory was created but stick to removing just the content if the directory existed before genimage was called. Fixes: pengutronix#237 Signed-off-by: Michael Olbrich <[email protected]>
- Loading branch information