From 61bae3efdc42fc1d748e4d60d24ff45e885ea212 Mon Sep 17 00:00:00 2001 From: bionel Date: Tue, 18 Aug 2020 16:32:47 +0300 Subject: pythonize check.root :P --- src/backend/upgradebinary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/upgradebinary.py') diff --git a/src/backend/upgradebinary.py b/src/backend/upgradebinary.py index 0f800cc..b3d68b6 100644 --- a/src/backend/upgradebinary.py +++ b/src/backend/upgradebinary.py @@ -14,7 +14,7 @@ import sisyphus.solvedeps import sisyphus.update def start(): - if sisyphus.check.root() == 0: + if sisyphus.check.root(): sisyphus.update.start() binhostURL = sisyphus.binhost.getURL() -- cgit v1.2.3