From 37bcf665f891f0b8d973d7736abeadf65728e145 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 9 Jun 2019 13:00:39 +0200 Subject: [PATCH] fix bug for #154 --- dotdrop/dotdrop.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 409f4be..769ebd0 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -110,12 +110,12 @@ def cmd_install(o): if o.debug: LOG.dbg('installing {}'.format(dotfile)) if hasattr(dotfile, 'link') and dotfile.link == LinkTypes.LINK: - r = inst.link(t, dotfile.src, dotfile.dst, - actionexec=pre_actions_exec) + r, err = inst.link(t, dotfile.src, dotfile.dst, + actionexec=pre_actions_exec) elif hasattr(dotfile, 'link') and \ dotfile.link == LinkTypes.LINK_CHILDREN: - r = inst.link_children(t, dotfile.src, dotfile.dst, - actionexec=pre_actions_exec) + r, err = inst.link_children(t, dotfile.src, dotfile.dst, + actionexec=pre_actions_exec) else: src = dotfile.src tmp = None