pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/courier-imap/files Print warnings to stderr, not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e0fc04ff54b
branches:  trunk
changeset: 478044:4e0fc04ff54b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jul 15 08:29:05 2004 +0000

description:
Print warnings to stderr, not stdout.  This matches rc.subr behaviour.

diffstat:

 mail/courier-imap/files/courierimap.sh  |  4 ++--
 mail/courier-imap/files/courierimaps.sh |  4 ++--
 mail/courier-imap/files/courierpop.sh   |  4 ++--
 mail/courier-imap/files/courierpops.sh  |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (80 lines):

diff -r a63323b5cf3d -r 4e0fc04ff54b mail/courier-imap/files/courierimap.sh
--- a/mail/courier-imap/files/courierimap.sh    Thu Jul 15 08:28:33 2004 +0000
+++ b/mail/courier-imap/files/courierimap.sh    Thu Jul 15 08:29:05 2004 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: courierimap.sh,v 1.9 2004/07/14 20:07:16 jlam Exp $
+# $NetBSD: courierimap.sh,v 1.10 2004/07/15 08:29:05 jlam Exp $
 #
 # Courier IMAP services daemon
 #
@@ -42,7 +42,7 @@
                done
                for f in $required_files; do
                        if [ ! -r "$f" ]; then
-                               @ECHO@ "$0: WARNING: $f is not readable"
+                               @ECHO@ 1>&2 "$0: WARNING: $f is not readable"
                                if [ -z $rc_force ]; then
                                        return 1
                                fi
diff -r a63323b5cf3d -r 4e0fc04ff54b mail/courier-imap/files/courierimaps.sh
--- a/mail/courier-imap/files/courierimaps.sh   Thu Jul 15 08:28:33 2004 +0000
+++ b/mail/courier-imap/files/courierimaps.sh   Thu Jul 15 08:29:05 2004 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: courierimaps.sh,v 1.9 2004/07/14 20:07:16 jlam Exp $
+# $NetBSD: courierimaps.sh,v 1.10 2004/07/15 08:29:05 jlam Exp $
 #
 # Courier IMAP/SSL services daemon
 #
@@ -43,7 +43,7 @@
                done
                for f in $required_files; do
                        if [ ! -r "$f" ]; then
-                               @ECHO@ "$0: WARNING: $f is not readable"
+                               @ECHO@ 1>&2 "$0: WARNING: $f is not readable"
                                if [ -z $rc_force ]; then
                                        return 1
                                fi
diff -r a63323b5cf3d -r 4e0fc04ff54b mail/courier-imap/files/courierpop.sh
--- a/mail/courier-imap/files/courierpop.sh     Thu Jul 15 08:28:33 2004 +0000
+++ b/mail/courier-imap/files/courierpop.sh     Thu Jul 15 08:29:05 2004 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: courierpop.sh,v 1.9 2004/07/14 20:07:16 jlam Exp $
+# $NetBSD: courierpop.sh,v 1.10 2004/07/15 08:29:05 jlam Exp $
 #
 # Courier POP3 services daemon
 #
@@ -42,7 +42,7 @@
                done
                for f in $required_files; do
                        if [ ! -r "$f" ]; then
-                               @ECHO@ "$0: WARNING: $f is not readable"
+                               @ECHO@ 1>&2 "$0: WARNING: $f is not readable"
                                if [ -z $rc_force ]; then
                                        return 1
                                fi
diff -r a63323b5cf3d -r 4e0fc04ff54b mail/courier-imap/files/courierpops.sh
--- a/mail/courier-imap/files/courierpops.sh    Thu Jul 15 08:28:33 2004 +0000
+++ b/mail/courier-imap/files/courierpops.sh    Thu Jul 15 08:29:05 2004 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: courierpops.sh,v 1.9 2004/07/14 20:07:16 jlam Exp $
+# $NetBSD: courierpops.sh,v 1.10 2004/07/15 08:29:05 jlam Exp $
 #
 # Courier POP3/SSL services daemon
 #
@@ -43,7 +43,7 @@
                done
                for f in $required_files; do
                        if [ ! -r "$f" ]; then
-                               @ECHO@ "$0: WARNING: $f is not readable"
+                               @ECHO@ 1>&2 "$0: WARNING: $f is not readable"
                                if [ -z $rc_force ]; then
                                        return 1
                                fi



Home | Main Index | Thread Index | Old Index