summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-06-03 10:17:51 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-06-03 10:17:51 +0000
commit0c52879fa54117b2bd312fe5fff17f310dbdb7eb (patch)
tree65d0f60298e03bc4efea7aef3e3e890bc8309321 /usr.sbin/pkg_add/OpenBSD
parent88b25b7453ff6f04c488a766c75ebb7788809947 (diff)
rewind DATA, so that the next scp: url will have code to connect to...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm
index 4dbaaa118b7..de11a90b708 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SCP.pm,v 1.17 2008/06/27 10:57:27 espie Exp $
+# $OpenBSD: SCP.pm,v 1.18 2009/06/03 10:17:50 espie Exp $
#
# Copyright (c) 2003-2006 Marc Espie <espie@openbsd.org>
#
@@ -54,6 +54,7 @@ sub initiate
next if m/^$/o;
print $wrfh $_;
}
+ seek(DATA, 0, 0);
}