libvirt: fix escapeShellArg usage

Co-Authored-By: conferno <conferno@camfex.cz>
This commit is contained in:
Robin Gloster
2020-03-30 09:45:28 +00:00
committed by GitHub
parent 9336b15a88
commit b80edca6be

View File

@@ -218,7 +218,7 @@ in {
after = [ "systemd-udev-settle.service" "libvirtd-config.service" ]
++ optional vswitch.enable "ovs-vswitchd.service";
environment.LIBVIRTD_ARGS = concatMapStringsSep " " escapeShellArg (
environment.LIBVIRTD_ARGS = escapeShellArgs (
[ "--config" configFile
"--timeout" "120" # from ${libvirt}/var/lib/sysconfig/libvirtd
] ++ cfg.extraOptions);