Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2012 16:28:43 +0000
From:      tzabal@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r237005 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport
Message-ID:  <20120603162843.1E2351065675@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120603162843.1E2351065675>