aboutsummaryrefslogtreecommitdiff
path: root/src/property/firewalld.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-30 10:58:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-06 19:47:57 -0700
commit71aa321d94062cec180eb8a2bb339ee3209047bb (patch)
treea1651bc84ba7ffab2a2cdde4d96150cb35c61ce3 /src/property/firewalld.lisp
parent1604ea2e6757cc11c2c7b2e8b408d2ce969bd846 (diff)
downloadconsfigurator-71aa321d94062cec180eb8a2bb339ee3209047bb.tar.gz
fix reloading firewalld when making changes by executing commands
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/firewalld.lisp')
-rw-r--r--src/property/firewalld.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/firewalld.lisp b/src/property/firewalld.lisp
index ad362ca..c481902 100644
--- a/src/property/firewalld.lisp
+++ b/src/property/firewalld.lisp
@@ -59,7 +59,7 @@
(with-change-if-changes-file
((merge-pathnames file #P"/etc/firewalld/")) (run))
(run))))
- (when (eql result :no-change)
+ (unless (eql result :no-change)
(mrun "firewall-cmd" "--reload"))
result))))