summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/packages/packages.subr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/share/packages/packages.subr')
-rwxr-xr-xusr.sbin/bsdconfig/share/packages/packages.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/share/packages/packages.subr b/usr.sbin/bsdconfig/share/packages/packages.subr
index 75d5244..e447b2e 100755
--- a/usr.sbin/bsdconfig/share/packages/packages.subr
+++ b/usr.sbin/bsdconfig/share/packages/packages.subr
@@ -993,9 +993,9 @@ f_package_extract()
esac
# We have a path, call the device strategy routine to get the file
- local pkg_ext probe_only=1 found=
+ local pkg_ext found=
for pkg_ext in "" $PACKAGE_EXTENSIONS; do
- if f_device_get $device "$path$pkg_ext" $probe_only; then
+ if f_device_get $device "$path$pkg_ext" $PROBE_EXIST; then
path="$path$pkg_ext"
f_dprintf "%s: found path=[%s] dev=[%s]" \
$fname "$path" "$device"
OpenPOWER on IntegriCloud