Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=3757326862efe76ba3f3b19116a5093d4ef1223b
commit 3757326862efe76ba3f3b19116a5093d4ef1223b Author: James Buren <[email protected]> Date: Sun Aug 25 19:21:38 2013 -0500 dmconfig: make sure the none entry is in the list diff --git a/src/dmconfig.c b/src/dmconfig.c index 147c5ab..b124438 100644 --- a/src/dmconfig.c +++ b/src/dmconfig.c @@ -43,6 +43,12 @@ static bool dmconfig_setup_managers(void) for( ; (s = list[i]) != 0 ; ++i ) { + if(strcmp(s,"none") == 0) + { + managers[j++] = strdup(s); + continue; + } + strfcpy(path,sizeof(path),"lib/systemd/system/%s.service",s); if(stat(path,&st) == 0 && S_ISREG(st.st_mode) && (st.st_mode & 0644) == 0644) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
