diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 22:52:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 22:52:57 +0000 |
commit | 8cb21146557a468e517db3123d481e5715971c7a (patch) | |
tree | 757b85c18f3a46f1ce331891e7f7aaf98a8b6702 /perl-install/raid.pm | |
parent | d3271db5a1609ee14b6f3a57aed7925644a5dabe (diff) | |
download | drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.gz drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.bz2 drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.xz drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.zip |
- have "local *FILEHANDLE" before each "open FILEHANDLE, ..."
- use some "cat_" and "output" where possible
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 229366675..0de96e912 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -103,8 +103,8 @@ sub update { sub write { my ($raids, $file) = @_; - local *F; local $\ = "\n"; + local *F; open F, ">$file" or die N("Can't write file %s", $file); foreach (grep { $_ } @$raids) { |