mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
delta: add missing error check
Follow-up for 59829bb37a.
Fixes CID#1611425.
This commit is contained in:
@@ -286,6 +286,8 @@ static int enumerate_dir_d(
|
||||
log_debug("Adding to drops: %s %s %s %s %s/%s",
|
||||
unit, glyph(GLYPH_ARROW_RIGHT), *file, glyph(GLYPH_ARROW_RIGHT), path, *file);
|
||||
r = path_put(&h, path, *file, /* override = */ false);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user