projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: Really check path in get_mac_binary
[openwrt/staging/mkresin.git]
/
package
/
base-files
/
files
/
lib
/
functions
/
system.sh
diff --git
a/package/base-files/files/lib/functions/system.sh
b/package/base-files/files/lib/functions/system.sh
index 7ed62804a081fcd799188e185e00e48f79dfbdac..df671465beaf79cf8513d49923e4f6a749e05b52 100644
(file)
--- 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