wg-quick: don't break push notifications
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
e664a05d4b
commit
8c32c32c2b
@ -57,9 +57,10 @@ public final class ToolsInstaller {
|
||||
if (path == null)
|
||||
return INSTALL_DIRS[0];
|
||||
final List<String> paths = Arrays.asList(path.split(":"));
|
||||
for (final File dir : INSTALL_DIRS)
|
||||
for (final File dir : INSTALL_DIRS) {
|
||||
if (paths.contains(dir.getPath()) && dir.isDirectory())
|
||||
return dir;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6977826c2c9840f79dc2ac6b4206a5f393e9dfb4
|
||||
Subproject commit b57461ceb01e591525201a9b8db3bf5107e51f8d
|
Loading…
Reference in New Issue
Block a user