base-files: Really check path in get_mac_binary
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 4 Jul 2019 21:28:44 +0000 (23:28 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Jul 2019 20:30:46 +0000 (22:30 +0200)
commit6ee6c97ded2d8de72373e25020b11f6484959fdb
treeca6188f480ca049e5ee002e0b6e600550cd1517d
parentaced9de9a4c2cc19e3e7a27cf1af40b9748aeccd
base-files: Really check path in get_mac_binary

Currently, path argument is only checked for being not empty.

This changes behavior to actually check whether path exists.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/files/lib/functions/system.sh