fix: extra arg
This commit is contained in:
parent
582e21a00a
commit
8eadac4732
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const migrateSnapshotsToShortIdTag = async (): Promise<MigrationResult> => {
|
||||||
|
|
||||||
logger.info(`Migrating snapshots for schedule '${schedule.name}' from tag '${oldTag}' to '${newTag}'`);
|
logger.info(`Migrating snapshots for schedule '${schedule.name}' from tag '${oldTag}' to '${newTag}'`);
|
||||||
const res = await safeSpawn({ command: "restic", args, env });
|
const res = await safeSpawn({ command: "restic", args, env });
|
||||||
await cleanupTemporaryKeys(repository.config, env);
|
await cleanupTemporaryKeys(env);
|
||||||
|
|
||||||
if (res.exitCode !== 0) {
|
if (res.exitCode !== 0) {
|
||||||
logger.error(`Restic tag failed: ${res.stderr}`);
|
logger.error(`Restic tag failed: ${res.stderr}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue