diff options
Diffstat (limited to 'src/kadmin')
| -rw-r--r-- | src/kadmin/dbutil/dump.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index f0d277c12..f491ae70f 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -2224,7 +2224,8 @@ load_db(argc, argv) /* * Cons up params for the new databases. If we are not in update - * mode, we dont create tmp file and then move it to final place. As it is dependent on DB type, this is not done + * mode, we create an alternate database and then promote it to + * be the live db. */ newparams = global_params; if (! update) { @@ -2238,6 +2239,11 @@ load_db(argc, argv) exit_status++; return; } + + if (!add_db_arg("temporary")) { + com_err(progname, ENOMEM, "computing parameters for database"); + exit(1); + } } /* |
