[Bug 252560] ports-mgmt/pkg regression: exit code is 1 instead of 70 for info when package does not exist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 10 18:26:07 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252560

--- Comment #2 from Pavel Merdin <fbug at merdin.com> ---
  * freebsd_package[mc] action remove

   
================================================================================
    Error executing action `remove` on resource 'freebsd_package[mc]'
   
================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0, 70], but received '1'
    ---- Begin output of ["pkg", "info", "mc"] ----
    STDOUT:
    STDERR: pkg: No package(s) matching mc
    ---- End output of ["pkg", "info", "mc"] ----
    Ran ["pkg", "info", "mc"] returned 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list