diff options
-rwxr-xr-x | script/public-inbox-edit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-edit b/script/public-inbox-edit index 2e2c7616..6884fd0c 100755 --- a/script/public-inbox-edit +++ b/script/public-inbox-edit @@ -138,7 +138,7 @@ foreach my $to_edit (values %$found) { # run the editor, respecting spaces/quote retry_edit: - if (system(qw(sh -c), qq(eval "$editor" '"\$@"'), '--', $edit_fn)) { + if (system(qw(sh -c), $editor.' "$@"', $editor, $edit_fn)) { if (!(-t STDIN) && !$opt->{force}) { die "E: $editor failed: $?\n"; } |