summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-09-28 22:44:49 +0300
committerzsdc <taras@vyos.io>2023-09-28 22:44:49 +0300
commit59e34c855e7d96b8abd4ab94d212a57901ed6bc1 (patch)
tree5894157ff968a56fceb37e8f362c38ae57fc81fa /packages
parent3c313a62e72023a68ab523400b1da3e8a1a6fd29 (diff)
downloadvyos-build-59e34c855e7d96b8abd4ab94d212a57901ed6bc1.tar.gz
vyos-build-59e34c855e7d96b8abd4ab94d212a57901ed6bc1.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.
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 2445eb1..0f66639 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