[Bug 3943] error in testing file of existence

bugzilla at busybox.net bugzilla at busybox.net
Sat Jul 2 23:17:58 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3943

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  ---
Not a bug: bash and coreutils do the same.

You should use

if [[ -e "${FILE}" ]]

instead.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list