diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:40:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:40:30 +0000 |
commit | 396478fcc2ed755e02e2573c8be89e9a98aec512 (patch) | |
tree | 5f3b06ddc745429831d93323182288ade533804f /src/deb | |
parent | Adding debian version 1.22.4. (diff) | |
download | dpkg-396478fcc2ed755e02e2573c8be89e9a98aec512.tar.xz dpkg-396478fcc2ed755e02e2573c8be89e9a98aec512.zip |
Merging upstream version 1.22.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/deb')
-rw-r--r-- | src/deb/build.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/deb/build.c b/src/deb/build.c index 597872b..1f0c050 100644 --- a/src/deb/build.c +++ b/src/deb/build.c @@ -177,10 +177,9 @@ file_treewalk_feed(const char *dir, int fd_out) if (S_ISLNK(treenode_get_mode(node))) { fi = file_info_new(nodename); file_info_list_append(&symlist, &symlist_end, fi); - } else { - if (fd_write(fd_out, nodename, strlen(nodename) + 1) < 0) - ohshite(_("failed to write filename to tar pipe (%s)"), - _("data member")); + } else if (fd_write(fd_out, nodename, strlen(nodename) + 1) < 0) { + ohshite(_("failed to write filename to tar pipe (%s)"), + _("data member")); } free(nodename); |