Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-22 06:48:16 +0300
committerChristopher Faylor <me@cgf.cx>2002-01-22 06:48:16 +0300
commitaed69a5b0dbacbddc1018b173f8420e40389004f (patch)
tree830dc01a64c2be5c2b46819a17d38ce4b6487191 /winsup/cygwin/cygmagic
parent2c2473bcac5304a191fe3a5e3fe2893569d579ad (diff)
* cygmagic: Suppress error output when figuring out if sum takes an option.
Diffstat (limited to 'winsup/cygwin/cygmagic')
-rwxr-xr-xwinsup/cygwin/cygmagic2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygmagic b/winsup/cygwin/cygmagic
index 16053624d..387593878 100755
--- a/winsup/cygwin/cygmagic
+++ b/winsup/cygwin/cygmagic
@@ -17,7 +17,7 @@ cat <<EOF > $file_magic
/* autogenerated - do not edit */
#include "$file"
EOF
-if sum -r /dev/null; then
+if sum -r /dev/null >/dev/null 2>&1; then
sumit(){ sum -r $*; }
else
sumit(){ sum $*; }