Skip to content
  • Christian Boltz's avatar
    Fix viewing a local inactive profile in aa-genprof · 8b4e76a7
    Christian Boltz authored
    aa-genprof checks if one of the profiles in the extra profile dir
    matches the binary, and proposes to use that profile as a starting
    point.
    
    Since 4d722f18 the "(V)iew profile"
    option to display the proposed profile was broken.
    
    The easiest fix is to remember the filename in the extras directory, and
    display the file from there.
    
    Sidenote: when choosing to use the extra profile, it gets written to
    disk without any problems, so this bug really only affected "(V)iew
    profile" to preview the proposed extra profile.
    8b4e76a7