From 4ae95fd843ae0a0b107c3aea3050924e025648a0 Mon Sep 17 00:00:00 2001 From: Diego Pino Garcia Date: Sun, 14 Oct 2018 19:50:33 +0200 Subject: [PATCH] Redirect stderr to /dev/null on creating symbolic links If for some reason the link already existed an error message would be printed out, which can be mistaken as an unsuccessful installation. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5cccbdd..ae3917a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,8 +74,8 @@ distclean: install: hping3 cp -f hping3 /usr/sbin/ chmod 755 /usr/sbin/hping3 - ln -s /usr/sbin/hping3 /usr/sbin/hping - ln -s /usr/sbin/hping3 /usr/sbin/hping2 + ln -s /usr/sbin/hping3 /usr/sbin/hping &> /dev/null + ln -s /usr/sbin/hping3 /usr/sbin/hping2 &> /dev/null @if [ -d ${INSTALL_MANPATH}/man8 ]; then \ cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \ chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \