diff options
author | zsdc <taras@vyos.io> | 2023-09-28 22:44:49 +0300 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-09-29 07:22:35 +0200 |
commit | 4a1945534dd99cf43ac89850e26664a1cfcf26b1 (patch) | |
tree | aa0a4cf675765165c331f225c3446122469be102 /packages | |
parent | c0720f2acfb5bf5ca12cb02881710424c6ee9b3d (diff) | |
download | vyos-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-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 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 |