From 27847c0b9b7c8cba726e3851620eacbffcc45a60 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 16 Nov 2011 13:17:35 +0000 Subject: [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 --- package/busybox/files/telnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/busybox/files') diff --git a/package/busybox/files/telnet b/package/busybox/files/telnet index 334523eb9..994e713e7 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() { -- cgit v1.2.3