WTH, no $EDITOR :)

This commit is contained in:
RevBar 2013-02-26 20:26:45 +01:00
parent 620f31bd82
commit 116be18b2f

View file

@ -9,7 +9,7 @@ sub command :Tab(edit) {
my ($self, $cart, $command) = @_;
if ($command eq 'edit') {
system $ENV{EDITOR}, $filename;
system $ENV{EDITOR} || 'vi', $filename;
return ACCEPT;
}