projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: add md5sum of kernel
[openwrt.git]
/
package
/
firewall
/
files
/
lib
/
core.sh
diff --git
a/package/firewall/files/lib/core.sh
b/package/firewall/files/lib/core.sh
index
c350e8f
..
c383597
100644
(file)
--- a/
package/firewall/files/lib/core.sh
+++ b/
package/firewall/files/lib/core.sh
@@
-107,10
+107,8
@@
fw_die() {
fw_log() {
local level="$1"
- [ -n "$2" ] || {
- shift
- level=notice
- }
+ [ -n "$2" ] && shift || level=notice
+ [ "$level" != error ] || echo "Error: $@" >&2
logger -t firewall -p user.$level "$@"
}
This page took
0.027111 seconds
and
4
git commands to generate.