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>
Tue, 7 May 2013 18:57:08 +0000 (14:57 -0400)
commit7e95822cc7b886bf9f53ce17cd51a39968b4a53e
treeadac545caa9ec9d6c54d9674819ed1059fa6bbc6
parent6dc16bd90b8fab0acac96a7925a7d087bf8532b9
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