X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fbin%2Fbex-add;h=d984d60ecf9a93dbed78e992e59ec7edcd46a1b6;hb=d29a5492b591dc13f7b89a6ef480d7bdce05d695;hp=4f2c3b39138822594dac031e807c298db4637814;hpb=f7a86691cc2ac828299cf1c60c4488041b1580d5;p=bex.git diff --git a/lib/bin/bex-add b/lib/bin/bex-add index 4f2c3b3..d984d60 100755 --- a/lib/bin/bex-add +++ b/lib/bin/bex-add @@ -95,7 +95,7 @@ if (defined $requeue_id) { if (!$given_go) { $tmp_fn = $job->save; my $orig_stat = stat($tmp_fn) or die; - system "editor", $tmp_fn and die "Editor exited with an error, file kept as $tmp_fn\n"; + system $BEX::Config::editor_command, $tmp_fn and die "Editor exited with an error, file kept as $tmp_fn\n"; my $new_stat = stat($tmp_fn) or die "File $tmp_fn disappeared under my hands: $!\n"; if ($new_stat->mtime <= $orig_stat->mtime && $new_stat->size == $orig_stat->size) { unlink $tmp_fn;