index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Alexander Couzens <lynxis@fe80.eu>
2019-11-13 18:13:13 +0100
committer
Alexander Couzens <lynxis@fe80.eu>
2020-04-21 00:01:49 +0200
commit
b77fd0d30bfa93def97fc1633d389b994600fea3
(
patch
)
tree
aedec0c9b3c4158da5e8b56a35792e3dd868a861
parent
36f628910b8bf51216004621847f3eab3a62a10c
(
diff
)
base-files: ensure VERBOSE is set
If not set, it shows the following error sh: out of range Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat
-rw-r--r--
package/base-files/files/lib/upgrade/common.sh
2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 49c2fa0e7b..a4de7e1666 100644
--- a/
package/base-files/files/lib/upgrade/common.sh
+++ b/
package/base-files/files/lib/upgrade/common.sh
@@ -64,7 +64,7 @@ ask_bool() {
}
v() {
- [ "$VERBOSE" -ge 1 ] && echo "$@"
+ [ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo "$@"
}
json_string() {