mirror of https://github.com/hak5/openwrt.git
13 lines
174 B
Diff
13 lines
174 B
Diff
|
--- 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:
|