mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Save pkg call return code to use on return. The way it is now is always returning 0. It should fix #5837
This commit is contained in:
parent
6635aa0f6c
commit
ec3371678b
@ -176,8 +176,9 @@ pkg_with_pb() {
|
||||
fi
|
||||
|
||||
pkg ${_event_pipe} $@
|
||||
local _pkg_result=$?
|
||||
nc_pid=""
|
||||
return $?
|
||||
return ${_pkg_result}
|
||||
}
|
||||
|
||||
fetch_upgrade_packages() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user