X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=sources.go;h=4b77c6ebbb51f024877a6bb2e43ed775f2ec40ff;hb=0030b3e73152bf9d9ad3e435fa42e607c7865321;hp=1fd4c9d0ac0bca059719e301e62224530b6392a4;hpb=78031743f585a64aa0f784d39134627e7f388d49;p=goredo.git diff --git a/sources.go b/sources.go index 1fd4c9d..4b77c6e 100644 --- a/sources.go +++ b/sources.go @@ -1,6 +1,6 @@ /* goredo -- djb's redo implementation on pure Go -Copyright (C) 2020-2021 Sergey Matveev +Copyright (C) 2020-2022 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,6 +40,9 @@ func sourcesWalker(tgts []string) ([]string, error) { return nil, err } depInfo, err := depRead(fdDep) + if err != nil { + return nil, err + } fdDep.Close() for _, m := range depInfo.ifchanges { depTgt := m["Target"]