diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 17:24:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 17:24:08 +0000 |
commit | e47d0821bfd0def11d10bb68a46a3335934f283a (patch) | |
tree | cc930329350bc518f5c9dc586d4e3f0fb1d72091 /perl-install/fsedit.pm | |
parent | 1dfe0932b061617719939a72f91fb70ac4ac23b8 (diff) | |
download | drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.gz drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.bz2 drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.xz drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.zip |
perl_checker compliance
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 6aed45d48..dcba0d267 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -678,7 +678,8 @@ sub undo_prepare { sub undo { my ($all_hds) = @_; foreach (@{$all_hds->{hds}}) { - my $h; eval pop @{$_->{undo}} || next; + my $code = pop @{$_->{undo}} or next; + my $h; eval $code; @$_{@partition_table::fields2save} = @$h; $_->{isDirty} = $_->{needKernelReread} = 1 if $_->{hasBeenDirty}; |