[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-105-gac1319a

Andreas Beckmann anbe at debian.org
Mon Feb 25 11:02:01 UTC 2013


The following commit has been merged in the develop branch:
commit ac1319ad45d8522ebe7e4a740b7724327283b419
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Feb 25 03:10:53 2013 +0100

    slave_run: drop ancient trap+mail code
    
    that's useless with daemonized screen
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/slave-bin/slave_run.in b/slave-bin/slave_run.in
index 6f18685..7ac5497 100755
--- a/slave-bin/slave_run.in
+++ b/slave-bin/slave_run.in
@@ -18,7 +18,7 @@ set -e
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 #
-# run piuparts-slave in screen so that a screendump can be mailed via cron to monitor the slave
+# Run piuparts-slave in screen to allow interactive control later on.
 #
 
 
@@ -49,8 +49,6 @@ cd $SLAVEROOT
 
 rm -f $SCREENLOG
 
-trap "cat $SCREENLOG | mail -s 'slave abnormaly ended' piupartsm ; rm $SCREENLOG; exit" TERM EXIT
 screen -L -d -m -S $SESSIONNAME @sharedir@/piuparts/piuparts-slave
-trap - TERM EXIT
 
 echo "piuparts-slave has been started."

-- 
piuparts git repository



More information about the Piuparts-commits mailing list