Closed x676f64 closed 1 year ago
In pfSense 2.7.0-RELEASE (amd64), this script fails to execute due to the way the shell interprets pkg -N 2> /dev/null as pkg -N 2 > /dev/null. By adding -- we tell the shell that we're done adding parameters and values to pkg.
pkg -N 2> /dev/null
pkg -N 2
> /dev/null
--
In pfSense 2.7.0-RELEASE (amd64), this script fails to execute due to the way the shell interprets
pkg -N 2> /dev/null
aspkg -N 2
> /dev/null
. By adding--
we tell the shell that we're done adding parameters and values to pkg.