diff options
author | verhoek <30193551+verhoek@users.noreply.github.com> | 2018-11-02 19:48:17 +0300 |
---|---|---|
committer | verhoek <30193551+verhoek@users.noreply.github.com> | 2018-11-02 19:48:17 +0300 |
commit | 9fb38ebe9ad2b21c35bf6d91402f0b97770df7c3 (patch) | |
tree | c2160e56e202e13584d30df970d50f90a05066a6 /Duplicati/CommandLine/Commands.cs | |
parent | 1275f144050da0727fd39704edaa8434af226efa (diff) |
Continuation of Util.DirectorySeparatorString replacements.
Diffstat (limited to 'Duplicati/CommandLine/Commands.cs')
-rw-r--r-- | Duplicati/CommandLine/Commands.cs | 2 |
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))
|