linkup

Simple symlink farmer
git clone https://git.sinitax.com/sinitax/linkup
Log | Files | Refs | LICENSE | sfeed.txt

commit 0c59ffc0c205b45ee88b8a0b1840b8831e51e6ae
parent c7d235f4c0cdadaea467d737d04efa6178eee67a
Author: Louis Burda <quent.burda@gmail.com>
Date:   Fri, 11 Nov 2022 16:41:56 +0100

Remove extra newline from error message

Diffstat:
Mlinkup.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linkup.c b/linkup.c @@ -114,7 +114,7 @@ do_install(const char *spath, const char *dpath) if (!fstatat(dirfd(ddir), ent->d_name, &attr, AT_SYMLINK_NOFOLLOW)) { if ((attr.st_mode & S_IFMT) != S_IFLNK && !force) - errx(1, "dst %s already exists\n", ent->d_name); + errx(1, "dst %s already exists", ent->d_name); if (remove(dpbuf)) err(1, "remove dst %s", ent->d_name); }