]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Remove extra newline from error messages (#2541)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Sun, 16 Mar 2025 22:33:05 +0000 (23:33 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Mar 2025 22:33:05 +0000 (15:33 -0700)
commita88e09a37069dd6a07d65f6dfee08a8563d79d8c
tree547220ff928747c505d37391a0984867a35c3303
parent09a2ed4853cd177264076a88c98e525e892a0d0b
Remove extra newline from error messages (#2541)

The lafe_errc function adds a newline by itself already, so do not
insert one into the message.

You can reproduce with the following commands:

```
touch archive.tar
bsdtar -xf archive.tar -C /non-existing
```

```
bsdtar --exclude ""
```

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
tar/bsdtar.c
tar/util.c