From: Holger Levsen Date: Thu, 8 Nov 2012 20:28:43 +0000 (+0100) Subject: mildy improve output X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=40142d0cc9efc7d59ed3c20567173d6a9a34e269;p=profitbricks%2Fjenkins-build-scripts.git mildy improve output --- diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index ef19b04..d54b27c 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -101,7 +101,7 @@ for i in $(seq 1 90) ; do echo "ok, sshd is running at $(date +%H:%M:%S)" break else - echo "but sshd is not running at date $(+%H:%M:%S)" + echo "but sshd is not running at date $(date +%H:%M:%S)" fi fi done @@ -120,7 +120,7 @@ if [ ! -e $MAIL ] ; then echo "$MAIL does not exist, something wrong with liveboot-web?" exit 1 fi -cat $MAIL +head -42 $MAIL cat $MAIL | /usr/sbin/sendmail $MAILTO echo echo "Ok, mail to $MAILTO send."