From owner-svn-soc-all@FreeBSD.ORG Sun Jun 3 16:28:45 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id 1E2351065675 for ; Sun, 3 Jun 2012 16:28:43 +0000 (UTC) (envelope-from tzabal@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Sun, 03 Jun 2012 16:28:43 +0000 Date: Sun, 03 Jun 2012 16:28:43 +0000 From: tzabal@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120603162843.1E2351065675@hub.freebsd.org> Cc: Subject: socsvn commit: r237005 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2012 16:28:45 -0000 Author: tzabal Date: Sun Jun 3 16:28:42 2012 New Revision: 237005 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=237005 Log: Fix: Bug in code responsible for sending the reports. Also, add message that informs the user that the report was sent successfully. Modified: soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Modified: soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh ============================================================================== --- soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Sun Jun 3 15:35:54 2012 (r237004) +++ soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh Sun Jun 3 16:28:42 2012 (r237005) @@ -183,9 +183,11 @@ 4A2OywvWcs45QnlxYmKUIL6x8stKQAbtuHkbda3v/4ts/+6Y0jss -----END RSA PRIVATE KEY-----" > ${user_private_key_file} -scp -q -o GlobalKnownHostsFile=${host_public_key_file} BatchMode=yes \ - -i ${user_private_key_file} ${report} ${user}@${hostname}: +scp -o GlobalKnownHostsFile=${host_public_key_file} -o BatchMode=yes \ + -i ${user_private_key_file} -q ${report} ${user}@${hostname}: -# Everything went smoothly +## Everything went smoothly +echo "Crash report has been sent successfully.\ +Check your email for confirmation." exit 0 \ No newline at end of file