Changeset 10379 in josm


Ignore:
Timestamp:
2016-06-15T10:56:09+02:00 (5 years ago)
Author:
Don-vip
Message:

see #12963 - ignore warning on Linux systems which do not provide lsb_release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r10378 r10379  
    209209            return "Debian".equalsIgnoreCase(dist) || "Ubuntu".equalsIgnoreCase(dist) || "Mint".equalsIgnoreCase(dist);
    210210        } catch (IOException e) {
    211             Main.warn(e);
     211            if (Main.isDebugEnabled()) {
     212                // lsb_release is not available on all Linux systems, so don't log at warning level
     213                Main.debug(e.getMessage());
     214            }
    212215            return false;
    213216        }
Note: See TracChangeset for help on using the changeset viewer.