Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(restic): Don't set
--options
if there are none
Calling `strings.Split` on an empty string still returns a slice with one empty string in it, hence setting `options`. This commit changes the implementation to _first_ check for empty strings, before even calling `strings.Split`. Signed-off-by: Manuel Hutter <[email protected]>
- Loading branch information