diff options
Diffstat (limited to 'src/property/firewalld.lisp')
-rw-r--r-- | src/property/firewalld.lisp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/property/firewalld.lisp b/src/property/firewalld.lisp index a39b22c..f4d7a25 100644 --- a/src/property/firewalld.lisp +++ b/src/property/firewalld.lisp @@ -37,13 +37,12 @@ (flet ((run () (let ((output (mrun "firewall-cmd" args))) (and warning (search warning output) :no-change)))) - (let ((result (if file - (with-change-if-changes-file - ((merge-pathnames file #P"/etc/firewalld/")) (run)) - (run)))) - (unless (eql result :no-change) - (mrun "firewall-cmd" "--reload")) - result)))) + (aprog1 (if file + (with-change-if-changes-file + ((merge-pathnames file #P"/etc/firewalld/")) (run)) + (run)) + (unless (eql it :no-change) + (mrun "firewall-cmd" "--reload")))))) ;;;; Setting contents of XML configuration files |