Skip to content

Commit 6a57199

Browse files
author
webdevred
committed
added a comment explaining setting enable_lightdm_helper
1 parent eede2c2 commit 6a57199

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nob.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ void setup_lightdm_helper_flags(void) {
282282
strcpy(lightdm_helper_path, "/usr/local/libexec/wpc/lightdm_helper");
283283
}
284284

285+
// set enable_lightdm_helper to true if enable_helper_var is not equal
286+
// to 0. if enable_helper_var is NULL, default to true
285287
if (enable_helper_var != NULL) {
286288
enable_lightdm_helper = strcmp(enable_helper_var, "0") != 0;
287289
}

0 commit comments

Comments
 (0)