Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorverhoek <30193551+verhoek@users.noreply.github.com>2018-11-02 19:48:17 +0300
committerverhoek <30193551+verhoek@users.noreply.github.com>2018-11-02 19:48:17 +0300
commit9fb38ebe9ad2b21c35bf6d91402f0b97770df7c3 (patch)
treec2160e56e202e13584d30df970d50f90a05066a6 /Duplicati/CommandLine/Commands.cs
parent1275f144050da0727fd39704edaa8434af226efa (diff)
Continuation of Util.DirectorySeparatorString replacements.
Diffstat (limited to 'Duplicati/CommandLine/Commands.cs')
-rw-r--r--Duplicati/CommandLine/Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Duplicati/CommandLine/Commands.cs b/Duplicati/CommandLine/Commands.cs
index a47365a90..6a8a5d2bf 100644
--- a/Duplicati/CommandLine/Commands.cs
+++ b/Duplicati/CommandLine/Commands.cs
@@ -453,7 +453,7 @@ namespace Duplicati.CommandLine
// suffix all folders with "*" so we restore all contents in the folder
for (var ix = 0; ix < args.Count; ix++)
- if (args[ix].IndexOfAny(new char[] { '*', '?' }) < 0 && !args[ix].StartsWith("[", StringComparison.Ordinal) && args[ix].EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal))
+ if (args[ix].IndexOfAny(new char[] { '*', '?' }) < 0 && !args[ix].StartsWith("[", StringComparison.Ordinal) && args[ix].EndsWith(Util.DirectorySeparatorString, StringComparison.Ordinal))
args[ix] += "*";
using(var output = new ConsoleOutput(outwriter, options))