diff --git a/lib/les.js b/lib/les.js index 45d78578..8ffddfa2 100644 --- a/lib/les.js +++ b/lib/les.js @@ -71,7 +71,7 @@ const gc_enable = root.opt.gc_enable ? root.opt.gc_enable : true; const gc_delay = root.opt.gc_delay ? root.opt.gc_delay : 1000; - const gc_info_enable = root.opt.gc_info_enable ? root.opt.gc_info_enable : true; + const gc_info_enable = ("gc_info_enable" in root.opt) ? root.opt.gc_info_enable : true; const gc_info = root.opt.gc_info ? root.opt.gc_info : 5000; const gc_info_mini = root.opt.gc_info_mini ? root.opt.gc_info_mini : false;