From 6ed048e1772bf236f34b3ad71f8ae40f992dd034 Mon Sep 17 00:00:00 2001 From: Denver Abrey Date: Mon, 17 Oct 2016 22:33:40 +0200 Subject: Fix blank pfSense configs being saved if regex doesn't match --- lib/oxidized/model/pfsense.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/oxidized/model/pfsense.rb b/lib/oxidized/model/pfsense.rb index 9982d72..55e7e85 100644 --- a/lib/oxidized/model/pfsense.rb +++ b/lib/oxidized/model/pfsense.rb @@ -8,6 +8,7 @@ class PfSense < Oxidized::Model cmd 'cat /cf/conf/config.xml' do |cfg| cfg.gsub! /\s\s*