summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-09-28 22:44:49 +0300
committerChristian Breunig <christian@breunig.cc>2023-09-29 07:22:35 +0200
commit4a1945534dd99cf43ac89850e26664a1cfcf26b1 (patch)
treeaa0a4cf675765165c331f225c3446122469be102 /packages
parentc0720f2acfb5bf5ca12cb02881710424c6ee9b3d (diff)
downloadvyos-build-4a1945534dd99cf43ac89850e26664a1cfcf26b1.tar.gz
vyos-build-4a1945534dd99cf43ac89850e26664a1cfcf26b1.zip
pmacct: T5618: Fixed mistake in pmacct build script
Removed extra `not` in the `if` condition of the build script which inverts the return code. (cherry picked from commit 59e34c855e7d96b8abd4ab94d212a57901ed6bc1)
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/pmacct/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pmacct/build.py b/packages/pmacct/build.py
index 2445eb12..0f666392 100755
--- a/packages/pmacct/build.py
+++ b/packages/pmacct/build.py
@@ -34,7 +34,7 @@ def build_package() -> bool:
build_cmd: list[str] = ['dpkg-buildpackage', '-uc', '-us', '-tc', '-b']
build_status: int = run(build_cmd).returncode
- if not build_status:
+ if build_status:
return False
return True