aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/files
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
commitad5b9f001c67413636b3aaa4f6e4a83ce8f6380c (patch)
tree62fb5ac3ec83b7d5ea000e8e4819b744c41fbef1 /package/busybox/files
parent356170f1f74fbfa0964ca4fc82cb0b90c15ba522 (diff)
downloadupstream-ad5b9f001c67413636b3aaa4f6e4a83ce8f6380c.tar.gz
upstream-ad5b9f001c67413636b3aaa4f6e4a83ce8f6380c.tar.bz2
upstream-ad5b9f001c67413636b3aaa4f6e4a83ce8f6380c.zip
[package] busybox: fix empty password detection in telnetd init (#10432)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29183 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/files')
-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 334523eb9f..994e713e70 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() {