From f01de0f8af1814f798bbfbf68313bf1ba76c0936 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 4 Jul 2000 23:22:15 +0000 Subject: Fix stupid bug in extraction through playpen. --- usr.sbin/pkg_install/add/extract.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pkg_install') diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c index 676a275a6d7..1e014a99912 100644 --- a/usr.sbin/pkg_install/add/extract.c +++ b/usr.sbin/pkg_install/add/extract.c @@ -1,7 +1,7 @@ -/* $OpenBSD: extract.c,v 1.10 2000/04/26 15:32:28 espie Exp $ */ +/* $OpenBSD: extract.c,v 1.11 2000/07/04 23:22:14 espie Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: extract.c,v 1.10 2000/04/26 15:32:28 espie Exp $"; +static const char *rcsid = "$OpenBSD: extract.c,v 1.11 2000/07/04 23:22:14 espie Exp $"; #endif /* @@ -35,7 +35,7 @@ static const char *rcsid = "$OpenBSD: extract.c,v 1.10 2000/04/26 15:32:28 espie #define PUSHOUT(todir) /* push out string */ \ if (where_count > sizeof(STARTSTRING)-1) { \ - strcat(where_args, "|tar xf - -C "); \ + strcat(where_args, "|tar xpf - -C "); \ strcat(where_args, todir); \ if (system(where_args)) { \ cleanup(0); \ -- cgit v1.2.3