(doit2): check the return value from `doit2'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3431 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -71,7 +71,9 @@ doit2(HDB *db, hdb_entry *ent)
|
||||
fprintf(stderr, "Please answer yes or no.\n");
|
||||
}
|
||||
if(buf[0] == 'y' || buf[0] == 'Y')
|
||||
set_password (ent);
|
||||
if(set_password (ent))
|
||||
return;
|
||||
|
||||
set_modified_by (ent);
|
||||
|
||||
ret = db->store(context, db, 1, ent);
|
||||
|
Reference in New Issue
Block a user