diff options
Diffstat (limited to 'ls-files.c')
-rw-r--r-- | ls-files.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ls-files.c b/ls-files.c index df93cf226..27059e204 100644 --- a/ls-files.c +++ b/ls-files.c @@ -758,6 +758,7 @@ int main(int argc, const char **argv) continue; error("pathspec '%s' did not match any.", pathspec[num] + prefix_offset); + errors++; } return errors ? 1 : 0; } |