X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Flib%2Ffunctions%2Fsystem.sh;h=df671465beaf79cf8513d49923e4f6a749e05b52;hb=8592602d0a880e89980d9874ad134b685e1c05d1;hp=7ed62804a081fcd799188e185e00e48f79dfbdac;hpb=b683f1c36d8a791f3d8b53c2c2748fa89bcf94af;p=openwrt%2Fstaging%2Fblogic.git diff --git a/package/base-files/files/lib/functions/system.sh b/package/base-files/files/lib/functions/system.sh index 7ed62804a081..df671465beaf 100644 --- a/package/base-files/files/lib/functions/system.sh +++ b/package/base-files/files/lib/functions/system.sh @@ -4,7 +4,7 @@ get_mac_binary() { local path="$1" local offset="$2" - if [ -z "$path" ]; then + if [ -e "$path" ]; then echo "get_mac_binary: file $path not found!" >&2 return fi