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>
Sun, 7 Jul 2019 11:02:05 +0000 (13:02 +0200)
commit8592602d0a880e89980d9874ad134b685e1c05d1
treeee8c7e89c57094057d66b77cc945d326fe699f7f
parentb683f1c36d8a791f3d8b53c2c2748fa89bcf94af
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