From b651901b9184550619d672e9b194cc369866d2c3 Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 25 Oct 2017 03:14:33 -0400 Subject: [PATCH] ahem. --- storage/backups/borg/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/backups/borg/backup.py b/storage/backups/borg/backup.py index 46a4214..4352696 100755 --- a/storage/backups/borg/backup.py +++ b/storage/backups/borg/backup.py @@ -194,8 +194,8 @@ class Backup(object): _cmd = None for p in os.environ['PATH'].split(':'): d = os.path.expanduser(p) - if os.path.isfile(os.path.join(d, pkgtool)): - _pkgr = pkgtool + if os.path.isfile(os.path.join(d, pkgr)): + _pkgr = pkgr self.logger.debug('Package tool found at {0}'.format(_pkgr)) else: _pkgr = 'pacman'