Skip to content

Commit

Permalink
fixed service not shutting down after backup
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-thomas committed Sep 6, 2020
1 parent f09679d commit 8f16c83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ParanoidOneDriveBackup/BackupService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ protected override async Task ExecuteAsync(CancellationToken ct)
}

AppData.Logger.LogDebug("shutting down");
Environment.Exit(0);
}

private void DeleteOldestFolders(string path, int max, CancellationToken ct)
Expand Down

0 comments on commit 8f16c83

Please sign in to comment.