summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-10-19 17:17:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-10-19 17:17:36 +0000
commit3efb824ba70e138a2063fe2a2609f4456fc7de0e (patch)
treeeeaf269847ff097bd7ec85506f0ba4e78a98e82d /perl-install
parent632c4f6758b01051f0b2fad5e182bc7ab5ca1ece (diff)
downloaddrakx-3efb824ba70e138a2063fe2a2609f4456fc7de0e.tar
drakx-3efb824ba70e138a2063fe2a2609f4456fc7de0e.tar.gz
drakx-3efb824ba70e138a2063fe2a2609f4456fc7de0e.tar.bz2
drakx-3efb824ba70e138a2063fe2a2609f4456fc7de0e.tar.xz
drakx-3efb824ba70e138a2063fe2a2609f4456fc7de0e.zip
cleanup
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 8d8ab40dd..3dcacfb49 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -33,6 +33,7 @@ sub __ { $_[0] }
sub salt {
my ($nb) = @_;
require devices;
+ local *F;
open F, devices::make("random") or die "missing random";
my $s; read F, $s, $nb;
local $_ = pack "b8" x $nb, unpack "b6" x $nb, $s;