diff options
author | zsdc <taras@vyos.io> | 2023-09-28 22:44:49 +0300 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2023-09-28 22:44:49 +0300 |
commit | 59e34c855e7d96b8abd4ab94d212a57901ed6bc1 (patch) | |
tree | 5894157ff968a56fceb37e8f362c38ae57fc81fa /packages | |
parent | 3c313a62e72023a68ab523400b1da3e8a1a6fd29 (diff) | |
download | vyos-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-x | packages/pmacct/build.py | 2 |
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 |