1
0
Fork 0
mirror of synced 2024-06-01 15:01:10 -04:00

support ignore-missing for glob #284

This commit is contained in:
Janto 2023-04-02 17:33:55 +02:00
parent 328bcb3259
commit e54c86444c

View file

@ -63,7 +63,7 @@ class Link(Plugin):
glob_results = self._create_glob_results(path, exclude_paths)
if len(glob_results) == 0:
self._log.warning("Globbing couldn't find anything matching " + str(path))
success = False
success = ignore_missing
continue
if len(glob_results) == 1 and destination[-1] == "/":
self._log.error("Ambiguous action requested.")