[Bug 252125] ports-mgmt/pkg 1.16 wrong exit code on removing non-existent package
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 25 06:57:46 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252125
Bug ID: 252125
Summary: ports-mgmt/pkg 1.16 wrong exit code on removing
non-existent package
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: vladimir-csp at yandex.ru
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
Hello.
This change is unexpected and breaks automated workflows, since before 1.16
exit code 65 could be treated as success for package removal.
host1# pkg -v
1.15.10
test-ansible-11# pkg remove nonexistent
No packages matched for pattern 'nonexistent'
Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
host1# echo $?
65
host2# pkg -v
1.16.0
host2# pkg remove nonexistent
No packages matched for pattern 'nonexistent'
Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
host2# echo $?
1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list