diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:26 +0000 |
commit | 482f05e63985fa420e5c8ce86c8ec55edf94395a (patch) | |
tree | 70437dba174b1c0bb0b018ca18f9c0ef4221ddbf /rescue/rescue-doc | |
parent | 11bca1ef951a93bc36c154737de4f2c8342f1638 (diff) | |
download | drakx-backup-do-not-use-482f05e63985fa420e5c8ce86c8ec55edf94395a.tar drakx-backup-do-not-use-482f05e63985fa420e5c8ce86c8ec55edf94395a.tar.gz drakx-backup-do-not-use-482f05e63985fa420e5c8ce86c8ec55edf94395a.tar.bz2 drakx-backup-do-not-use-482f05e63985fa420e5c8ce86c8ec55edf94395a.tar.xz drakx-backup-do-not-use-482f05e63985fa420e5c8ce86c8ec55edf94395a.zip |
perl_checker cleanups
sync with MDK::Common
explain from where output() come
Diffstat (limited to 'rescue/rescue-doc')
-rwxr-xr-x | rescue/rescue-doc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue/rescue-doc b/rescue/rescue-doc index c324ac9e1..e6514b462 100755 --- a/rescue/rescue-doc +++ b/rescue/rescue-doc @@ -1,6 +1,7 @@ #!/usr/bin/perl -sub output { my $f = shift; local *F; open F, ">$f" or die "output in file $f failed: $!\n"; print F foreach @_; } +# From MDK::Common: +sub output { my $f = shift; open(my $F, ">$f") or die "output in file $f failed: $!\n"; print $F $_ foreach @_ } output('/tmp/rescue-doc-contents', q( Information regarding problems not directly addressed |