diff mbox series

[v2] swupdate -i: remove cleanup_files call in main()

Message ID 20211209010706.724618-1-dominique.martinet@atmark-techno.com
State Accepted
Headers show
Series [v2] swupdate -i: remove cleanup_files call in main() | expand

Commit Message

Dominique Martinet Dec. 9, 2021, 1:07 a.m. UTC
network_initializer called cleanup_files() before we got here

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---
v2: reworded commit message as 7a81a01a ("network_initializer: move
cleanup_files before going IDLE") landed first

Thinking back I probably should have squashed these two before sending,
this whole thread was quite messy, sorry for that...

 core/swupdate.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/core/swupdate.c b/core/swupdate.c
index d3b8ef30405a..f5f20105ccfe 100644
--- a/core/swupdate.c
+++ b/core/swupdate.c
@@ -888,7 +888,6 @@  int main(int argc, char **argv)
 
 	if (opt_i) {
 		result = install_from_file(fname, opt_c);
-		cleanup_files(&swcfg);
 	}
 
 #ifdef CONFIG_SYSTEMD