diff options
| author | fukachan <fukachan> | 2002-12-15 14:09:27 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-12-15 14:09:27 +0000 |
| commit | 21328acc975ca535b45263dd908bdee41fd954e7 (patch) | |
| tree | fb297163d4f17985e3897501889b3c50b078381d /fml/lib/FML/Command/Admin | |
| parent | e35cce146f41981ce5d40ea65e3fb4352582a3a7 (diff) | |
| download | fml8-21328acc975ca535b45263dd908bdee41fd954e7.tar.gz fml8-21328acc975ca535b45263dd908bdee41fd954e7.tar.bz2 fml8-21328acc975ca535b45263dd908bdee41fd954e7.zip | |
print informational mesage
Diffstat (limited to 'fml/lib/FML/Command/Admin')
| -rw-r--r-- | fml/lib/FML/Command/Admin/edit.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/Admin/edit.pm b/fml/lib/FML/Command/Admin/edit.pm index fd7b5c8f..8dc3f7f5 100644 --- a/fml/lib/FML/Command/Admin/edit.pm +++ b/fml/lib/FML/Command/Admin/edit.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: edit.pm,v 1.11 2002/09/22 14:56:44 fukachan Exp $ +# $FML: edit.pm,v 1.12 2002/09/28 14:42:01 fukachan Exp $ # package FML::Command::Admin::edit; @@ -57,7 +57,7 @@ sub new sub need_lock { 1;} -# Descriptions: edit config.cf +# Descriptions: run "vi" or the specified editor to edit config.cf. # Arguments: $self $curproc $command_args # Side Effects: update config.cf # Return Value: none @@ -75,6 +75,7 @@ sub process my $editor = $ENV{ 'EDITOR' } || 'vi'; if (-f $config_cf) { + print STDERR "$editor $config_cf\n"; system $editor, $config_cf; } else { |
