diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-13 23:59:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-13 23:59:52 +0000 |
commit | 16abcd90aefae8bdb9f7d80a555982dba6ca59b5 (patch) | |
tree | b7e23fd3c844849d188813323076c93105a57d4d /shell | |
parent | 334fa9bcb50df9a03288be252096750dcec14404 (diff) | |
download | busybox-16abcd90aefae8bdb9f7d80a555982dba6ca59b5.tar.gz |
teach find_root_device to deal with /dev/ subdirs
(by "Kirill K. Smirnov" <lich@math.spbu.ru>)
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index f8207a6cc..63f039df4 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -2293,7 +2293,8 @@ updatepwd(const char *dir) break; } break; - } else if (p[1] == '\0') + } + if (p[1] == '\0') break; /* fall through */ default: |