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:22 +0000 (22:30 +0200)
commitcd4fcd46f16743b554bca8236830ff838e118be4
tree909415e150fa8e16baeeeab09e61a9d4b12a22da
parentacd2497cfbd62a3237b8a338cfa2316499572e50
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