summaryrefslogtreecommitdiff
path: root/package/busybox/files/telnet
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-16 13:17:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-16 13:17:35 +0000
commitcabbc9966c6b415f4bcff326f72ff029f9ddae22 (patch)
tree16d4d7622ecf912706ee041cf839a9c8d927c3ef /package/busybox/files/telnet
parent63820327d3b8d79e7b29d7b089d44670a72d9411 (diff)
downloadmtk-20170518-cabbc9966c6b415f4bcff326f72ff029f9ddae22.zip
mtk-20170518-cabbc9966c6b415f4bcff326f72ff029f9ddae22.tar.gz
mtk-20170518-cabbc9966c6b415f4bcff326f72ff029f9ddae22.tar.bz2
busybox: fix empty password detection in telnetd init (#10432)
SVN-Revision: 29183
Diffstat (limited to 'package/busybox/files/telnet')
-rwxr-xr-xpackage/busybox/files/telnet2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/telnet b/package/busybox/files/telnet
index 334523e..994e713 100755
--- a/package/busybox/files/telnet
+++ b/package/busybox/files/telnet
@@ -8,7 +8,7 @@ has_root_pwd() {
pwd="${pwd#*root:}"
pwd="${pwd%%:*}"
- test -n "${pwd#!}"
+ test -n "${pwd#[\!x]}"
}
get_root_home() {