From: Dustin Kirkland Date: Fri, 19 Sep 2008 20:59:10 +0000 (-0500) Subject: updated to released version 1.5 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c6e4dd9a804903bed3c9ed725868739ee05c7a;p=update-motd.git updated to released version 1.5 --- diff --git a/debian/changelog b/debian/changelog index 0eeeea5..f223b82 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +update-motd (1.5) intrepid; urgency=low + + * update-motd: print error messages to stderr, rather than stdout, + (LP: #271368). + + -- Dustin Kirkland Wed, 17 Sep 2008 09:18:54 -0500 + update-motd (1.4) intrepid; urgency=low * debian/config: validate that 1<=FREQ_IN_MIN<=59, at most 5 times before diff --git a/update-motd b/update-motd index ea22b30..45c9d6f 100755 --- a/update-motd +++ b/update-motd @@ -38,7 +38,7 @@ FORCE=0 if [ -f "$NEW" ]; then # If /var/run/motd.new exists, then another instance of update-motd # is running - echo "Another update-motd is running ($NEW exists)" + echo "Another update-motd is running ($NEW exists)" 1>&2 exit 0 fi @@ -51,10 +51,10 @@ for arg in $@; do done if [ ! -f "$ENABLED" ] && [ "$FORCE" != "1" ]; then - echo "$NAME is disabled. You can run:" - echo " * $NAME --force" - echo " * service update-motd start" - echo " * dpkg-reconfigure update-motd" + echo "$NAME is disabled. You can run:" 1>&2 + echo " * $NAME --force" 1>&2 + echo " * service update-motd start" 1>&2 + echo " * dpkg-reconfigure update-motd" 1>&2 exit 1 fi