projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reboot busybox style via procd
[project/procd.git]
/
plug
/
hotplug.c
diff --git
a/plug/hotplug.c
b/plug/hotplug.c
index
6f65c17
..
061833a
100644
(file)
--- a/
plug/hotplug.c
+++ b/
plug/hotplug.c
@@
-336,7
+336,7
@@
rule_handle_file(struct json_script_ctx *ctx, const char *name)
json_object *obj;
obj = json_object_from_file((char*)name);
- if (
is_error(obj)
)
+ if (
!obj
)
return NULL;
blob_buf_init(&script, 0);