1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 03:29:22 +02:00
openwrt-xburst/package/opkg/patches/012-cleanup-tmpdir.patch

13 lines
174 B
Diff
Raw Normal View History

--- a/src/opkg-cl.c
+++ b/src/opkg-cl.c
@@ -333,6 +333,9 @@
print_error_list();
free_error_list();
+ if( conf->tmp_dir )
+ rm_r(conf->tmp_dir);
+
return 0;
err2: