• Lars Gierth's avatar
    migrations: make libc check more resilient · 150fe9de
    Lars Gierth authored
    Fixes #3661.
    
    There are a couple of cases in which ldd won't operate on an executable,
    for example when the executable is statically linked.
    
    This patch makes the call to ldd to ldd more resilient against errors,
    and looks for the system libc, instead of the libc go-ipfs was linked against.
    
    License: MIT
    Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
    150fe9de
migrations.go 5.87 KB