summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-12-09 07:09:07 +0000
committerErmal Luçi <eri@pfsense.org>2008-12-09 07:09:07 +0000
commitb790e7674def435666be17d44ede4230a36f0cea (patch)
tree7ede5133bc164baad90f8ccd76b8070adcb434e7
parent7b45144168e1902ef21a409b8fb52fd32ef3ad38 (diff)
downloadpfsense-b790e7674def435666be17d44ede4230a36f0cea.zip
pfsense-b790e7674def435666be17d44ede4230a36f0cea.tar.gz
* Add another missing ". * Use full path to binary.
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index ac7c517..89e9c33 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -151,8 +151,8 @@ function filter_configure_sync() {
}
// Copy rules.debug to rules.debug.old
- if(file_exists({$g['tmp_path']}/rules.debug"))
- exec("cp {$g['tmp_path']}/rules.debug {$g['tmp_path']}/rules.debug.old");
+ if(file_exists("{$g['tmp_path']}/rules.debug"))
+ exec("/bin/cp {$g['tmp_path']}/rules.debug {$g['tmp_path']}/rules.debug.old");
$fd = fopen("{$g['tmp_path']}/rules.debug", "w");
$rules .= "{$aliases} \n";
OpenPOWER on IntegriCloud