[debian-edu-commits] debian-edu/ 01/01: Quiet down cron job to wake up client to not complain when fping notice they are unavailable.
    Petter Reinholdtsen 
    pere at moszumanska.debian.org
       
    Mon Mar 24 08:56:20 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to tag debian/0.10+deb7u1
in repository shutdown-at-night.
commit 4b4a9659154a986ef64d6be5f92279145bc8ee01
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Mar 24 09:52:00 2014 +0100
    Quiet down cron job to wake up client to not complain when fping notice they are unavailable.
---
 debian/changelog | 7 +++++++
 wakeupclients    | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4db7411..02dc18b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+shutdown-at-night (0.10+deb7u1) wheezy; urgency=low
+
+  * Quiet down cron job to wake up client to not complain when fping
+    notice they are unavailable.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Sun, 21 Jul 2013 15:36:19 +0200
+
 shutdown-at-night (0.10) unstable; urgency=low
 
   * Do not shut down if uptime is less then an hour.  Based on patch and
diff --git a/wakeupclients b/wakeupclients
index 5139c13..01f0e87 100755
--- a/wakeupclients
+++ b/wakeupclients
@@ -63,7 +63,7 @@ sub wakeup {
 
 sub get_alive_list {
     my @addresses = @_;
-    return split(/\s+/, `fping -a @addresses`);
+    return split(/\s+/, `fping -a @addresses 2>/dev/null`);
 }
 
 sub logmsg {
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git
    
    
More information about the debian-edu-commits
mailing list