Skip to content
  • Jehan's avatar
    app: fix "Bad interpreter" error messaging. · b67d7c44
    Jehan authored
    If I override the `program` variable, and it is not found in PATH
    environment, then it is NULL and the error message is unhelpful. Make
    the return value of g_find_program_in_path() into a separate variable
    instead, and only override `program` in the end, when we know it is
    non-NULL.
    
    (cherry picked from commit 87a9feb6)
    b67d7c44