1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[hotplug2] Move hotplug2 v0.9 to hotplug2-old

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hcg
2009-05-28 13:20:54 +00:00
parent 4fdfae5e23
commit e78f0c2415
5 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
Index: hotplug2-0.9/rules.c
===================================================================
--- hotplug2-0.9.orig/rules.c 2007-07-18 09:15:38.968308540 +0200
+++ hotplug2-0.9/rules.c 2007-07-18 09:18:52.135316499 +0200
@@ -756,6 +756,7 @@
ERROR("rules parse","Unable to parse rules file.");
return -1;
}
+ *return_rules = rules;
unmap_file(&filemap);
@@ -997,7 +998,8 @@
if (!terminate) {
/* A little bit hacky cleanup */
- return_rules->rules_c--;
+ if (!nested)
+ return_rules->rules_c--;
return return_rules;
} else {
/*