diff --git a/ParanoidOneDriveBackup/BackupService.cs b/ParanoidOneDriveBackup/BackupService.cs index ea12242..0249a81 100644 --- a/ParanoidOneDriveBackup/BackupService.cs +++ b/ParanoidOneDriveBackup/BackupService.cs @@ -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)