diff options
Diffstat (limited to 'src/feature/syncsource.nim')
-rw-r--r-- | src/feature/syncsource.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim index b080aff..c050e6a 100644 --- a/src/feature/syncsource.nim +++ b/src/feature/syncsource.nim @@ -1,5 +1,5 @@ import - future, options, os, posix, sequtils, strutils, tables, + options, os, posix, sequtils, strutils, sugar, tables, "../args", "../aur", "../common", "../config", "../format", "../lists", "../package", "../pacman", "../utils", "../wrapper/alpm" @@ -145,7 +145,7 @@ proc cloneAndCopy(config: Config, quiet: bool, fullTargets: seq[FullPackageTarge removeDirQuiet(result.path) discard rmdir(config.tmpRootCurrent) - if rerrors != nil and cerrors != nil: + if rerrors.len > 0 or cerrors != nil: 1 else: 0 |