projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts: fix wrong usage of '==' operator
[openwrt/staging/chunkeey.git]
/
package
/
system
/
procd
/
files
/
procd.sh
diff --git
a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index 109daee64c269824426b4d08ada05aacb2b235cc..be1d888a196e429776211e184903f736f0364e1e 100644
(file)
--- a/
package/system/procd/files/procd.sh
+++ b/
package/system/procd/files/procd.sh
@@
-93,7
+93,7
@@
_procd_add_table_data() {
while [ -n "$1" ]; do
local var="${1%%=*}"
local val="${1#*=}"
- [
[ "$1" == "$val" ]
] && val=
+ [
"$1" = "$val"
] && val=
json_add_string "$var" "$val"
shift
done