summaryrefslogtreecommitdiff
path: root/misc/dync/patches/patch-ab
blob: 729b0aeee7d1c447972e3cbfd5d708004ddcfac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2000/08/24 22:55:22 wiz Exp $

--- dync.c.orig	Thu Aug 13 17:21:13 1998
+++ dync.c
@@ -147,7 +147,7 @@
 {
 	char	cmd[MaxCmdLen];
 
-	return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF", FILE_CMD, prog, GREP_CMD) == 0);
+	return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF > /dev/null 2>&1", FILE_CMD, prog, GREP_CMD) == 0);
 }
 
 /* print usage message and die */