bugfix: fix regular expression to parse systemd results

This commit is contained in:
Christoph Hartmann 2015-09-24 23:29:01 +02:00
parent cb3d170ce6
commit f302ca7087

View file

@ -113,7 +113,7 @@ class Systemd < ServiceManager
# parse data # parse data
params = SimpleConfig.new( params = SimpleConfig.new(
cmd.stdout.chomp, cmd.stdout.chomp,
assignment_re: /^\s*([^:]*?)\s*:\s*(.*?)\s*$/, assignment_re: /^\s*([^=]*?)\s*=\s*(.*?)\s*$/,
multiple_values: false, multiple_values: false,
).params ).params