diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-07-04 23:22:15 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-07-04 23:22:15 +0000 |
commit | f01de0f8af1814f798bbfbf68313bf1ba76c0936 (patch) | |
tree | 2c36df5029b8a9aedfde1db12a8c8e8be2bc22a6 | |
parent | 74529d8865b29bb1907949f08a499a15dc7f697b (diff) |
Fix stupid bug in extraction through playpen.
-rw-r--r-- | usr.sbin/pkg_install/add/extract.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); \ |