diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2018-07-10 15:05:41 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2018-07-10 15:05:41 -0800 |
| commit | 79d39c649514fb2e30996c1898a44b266e0d3b66 (patch) | |
| tree | a6df0520ee2d38e17854e780502d40ba2a044077 | |
| parent | 947b8835a45353f5b06ce3d7fd1ed0d8ca23a304 (diff) | |
| download | bbfw-79d39c649514fb2e30996c1898a44b266e0d3b66.tar.gz bbfw-79d39c649514fb2e30996c1898a44b266e0d3b66.tar.bz2 bbfw-79d39c649514fb2e30996c1898a44b266e0d3b66.tar.xz bbfw-79d39c649514fb2e30996c1898a44b266e0d3b66.zip | |
Fixing error messages in rc.firewall.in
| -rwxr-xr-x | src/slack/rc.firewall.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slack/rc.firewall.in b/src/slack/rc.firewall.in index 6645760..ebc41c9 100755 --- a/src/slack/rc.firewall.in +++ b/src/slack/rc.firewall.in | |||
| @@ -235,7 +235,7 @@ start() { | |||
| 235 | # run post-hooks | 235 | # run post-hooks |
| 236 | run_hook start ${FW_PREFIX}global-post "running global post-hook start ..." | 236 | run_hook start ${FW_PREFIX}global-post "running global post-hook start ..." |
| 237 | run_hook start ${FW_PREFIX}rules-post "running local post-hook start ..." | 237 | run_hook start ${FW_PREFIX}rules-post "running local post-hook start ..." |
| 238 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f);do | 238 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f 2> /dev/null);do |
| 239 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." | 239 | run_hook start ${FILE} "running app post-hook start (App: $(basename ${FILE})) ..." |
| 240 | done | 240 | done |
| 241 | } | 241 | } |
| @@ -283,7 +283,7 @@ stop() { | |||
| 283 | # run post-hooks | 283 | # run post-hooks |
| 284 | run_hook stop ${FW_PREFIX}global-post "running global post-hook stop ..." | 284 | run_hook stop ${FW_PREFIX}global-post "running global post-hook stop ..." |
| 285 | run_hook stop ${FW_PREFIX}rules-post "running local post-hook stop ..." | 285 | run_hook stop ${FW_PREFIX}rules-post "running local post-hook stop ..." |
| 286 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f);do | 286 | for FILE in $(find -L /etc/firewall.d/apps.d/ -executable -name '*.post' -type f 2> /dev/null);do |
| 287 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." | 287 | run_hook stop ${FILE} "running app post-hook stop (App: $(basename ${FILE})) ..." |
| 288 | done | 288 | done |
| 289 | } | 289 | } |
