]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hardlink: re-raise SIGINT instead of exiting
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 28 Oct 2024 18:19:53 +0000 (19:19 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 31 Oct 2024 08:43:52 +0000 (09:43 +0100)
commit1453200e22dd4ec858be027653c167225f2fb358
treef3336449e2e77f0ece5d776e81c5f96a1f3ce435
parent91bd4db8260814298166604073a67ab8e1030a01
hardlink: re-raise SIGINT instead of exiting

Every TRUE return was either exit(1) or "return error;" anyway,
this is more correct (exit-status-wise) and doesn't hang pipelines weirdly

This also removes a seemingly-extraneous newline written to the standard
output stream in the interrupt handler itself?
misc-utils/hardlink.c