socsvn commit: r237005 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport

tzabal at FreeBSD.org tzabal at FreeBSD.org
Sun Jun 3 16:28:45 UTC 2012


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


More information about the svn-soc-all mailing list