chiark / gitweb /
load-fragment: unify config_parse_condition_{kernel, virt}
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 3 Apr 2011 16:16:54 +0000 (18:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 3 Apr 2011 20:16:23 +0000 (22:16 +0200)
commit41584525cf0a9d3a8bfb76008a3fc663b86bfdde
tree4b793913e6a907029048f2f058973caabc0e53c6
parent8fb81fa7844387377f79cf11d1bf48224a928ba7
load-fragment: unify config_parse_condition_{kernel, virt}

They only differ in the condition type, otherwise the code is identical.
Replace them with a more generic config_parse_condition_string().
src/load-fragment.c