base-files: Fix path check in get_mac_binary
authorAdrian Schmutzler <[email protected]>
Mon, 8 Jul 2019 08:17:28 +0000 (10:17 +0200)
committerPetr Štetiar <[email protected]>
Tue, 9 Jul 2019 21:05:51 +0000 (23:05 +0200)
commit6ed3349308b24a6bac753643970a1f9f56ff6070
tree8e598d40653884de80957c643097d1015b2c8906
parent9ef53b93cbd904d514d056be6f4ef83b0ca2ff59
base-files: Fix path check in get_mac_binary

Logic was inverted when changing from string check to file check.
Fix it.

Fixes: 8592602d0a88 ("base-files: Really check path in get_mac_binary")
Reported-by: Matthias Schiffer <[email protected]>
Signed-off-by: Adrian Schmutzler <[email protected]>
package/base-files/files/lib/functions/system.sh