diff --git a/BackupManager/BackupManager.csproj b/BackupManager/BackupManager.csproj
index a6eb3a3..67dfbf7 100644
--- a/BackupManager/BackupManager.csproj
+++ b/BackupManager/BackupManager.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.2
+ net5.0
diff --git a/BackupManager/Program.cs b/BackupManager/Program.cs
index 141d23a..7c49038 100644
--- a/BackupManager/Program.cs
+++ b/BackupManager/Program.cs
@@ -146,7 +146,8 @@ namespace BackupManager {
Log($@"MariaDB dump done.");
File.Delete(sqldefaults);
- if (Directory.Exists(Config.MisuzuPath)) {
+ if (!string.IsNullOrWhiteSpace(Config.MisuzuPath)
+ && Directory.Exists(Config.MisuzuPath)) {
Log(@"Filesystem backup...");
string mszConfig = Path.Combine(Config.MisuzuPath, @"config/config.ini");