Don't update the barcode if user was not created
authorDan Scott <dscott@laurentian.ca>
Wed, 14 Sep 2011 20:47:38 +0000 (16:47 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:57:59 +0000 (12:57 -0500)
commit2feea0b158245d7dca0bbfc1ab75ec151a006147
treefb1164faeedfaee5884de9e7d42b5a5057f6b540
parentcbaf028618a720ec1186b70b1a6707f131a03e4f
Don't update the barcode if user was not created

Check the return value and bail if the user creation was a failure.
For large updates, one can use --create and --push to update barcodes
for users who already exist.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync