aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/add/extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c
index 997d6d8d094b..c9978cdef0f8 100644
--- a/usr.sbin/pkg_install/add/extract.c
+++ b/usr.sbin/pkg_install/add/extract.c
@@ -78,7 +78,7 @@ extract_plist(char *home, Package *pkg)
if (Verbose)
printf("extract: exec cmd '%s' (lastfile = %s)\n", p->name,
last_file);
- if (!Fake && vsystem(p->name, last_file))
+ if (!Fake && vsystem(p->name, Directory, last_file))
whinge("Command '%s' failed.", p->name);
break;