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>
Wed, 8 May 2013 13:46:38 +0000 (09:46 -0400)
commit6050e88371c4110d3d85d65d5fbb0e70a844a128
treee3ffd7a17c30c584a50f422d9fcbab3f45e9af8f
parentc0446e3e30b532bbde42d21201bf2e0b067711f7
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