Better fix for issue #94

This commit is contained in:
Michael J. Seiferling
2018-01-28 23:14:54 -06:00
parent 2f2177fb84
commit 5be80b2f02
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ Public Class mgrBackup
sSavePath = VerifySavePath(oGame) sSavePath = VerifySavePath(oGame)
'Calculate space 'Calculate space
lAvailableSpace = mgrCommon.GetAvailableDiskSpace(sBackupFile) lAvailableSpace = mgrCommon.GetAvailableDiskSpace(oSettings.BackupFolder)
lFolderSize = mgrCommon.GetFolderSize(sSavePath, oGame.IncludeArray, oGame.ExcludeArray) lFolderSize = mgrCommon.GetFolderSize(sSavePath, oGame.IncludeArray, oGame.ExcludeArray)
'Show Available Space 'Show Available Space
+1 -1
View File
@@ -354,7 +354,7 @@ Public Class mgrCommon
Try Try
prsdf = New Process prsdf = New Process
prsdf.StartInfo.FileName = "/bin/df" prsdf.StartInfo.FileName = "/bin/df"
prsdf.StartInfo.Arguments = Path.GetDirectoryName(sPath) prsdf.StartInfo.Arguments = sPath
prsdf.StartInfo.UseShellExecute = False prsdf.StartInfo.UseShellExecute = False
prsdf.StartInfo.RedirectStandardOutput = True prsdf.StartInfo.RedirectStandardOutput = True
prsdf.StartInfo.CreateNoWindow = True prsdf.StartInfo.CreateNoWindow = True