From 7b102d25aab5ab76e58499ec1468802360648db9 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 26 Feb 2019 09:55:40 +0100 Subject: [PATCH] Use the default editor. --- dup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dup.rb b/dup.rb index f1cf954..bd6b16f 100755 --- a/dup.rb +++ b/dup.rb @@ -135,7 +135,7 @@ def action_create(container, file) File.open(file, "w") {|f| f.write(get_sample(container))} - exec("joe #{file.shellescape}") + exec("/usr/bin/editor #{file.shellescape}") exit 1 # will never be reached because exec replaces this process. But just in case... ;-) end