]> git.proxmox.com Git - pve-firewall.git/commitdiff
followup code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Jul 2019 11:02:35 +0000 (13:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Jul 2019 11:02:35 +0000 (13:02 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Firewall.pm

index c946040404a2636812407013a684d6bea12fe2d7..f529593c7a5f0fe7ef5748bb62c7e428a0654de9 100644 (file)
@@ -1760,7 +1760,7 @@ sub ip6tables_restore_cmdlist {
 sub ipset_restore_cmdlist {
     my ($cmdlist) = @_;
 
-    run_command(['ipset restore'], input => $cmdlist, errmsg => "ipset_restore_cmdlist");
+    run_command(['ipset', 'restore'], input => $cmdlist, errmsg => "ipset_restore_cmdlist");
 }
 
 sub ebtables_restore_cmdlist {