Use the default editor.

This commit is contained in:
Fabian Schlenz 2019-02-26 09:55:40 +01:00
parent 5a3a1be5a2
commit 7b102d25aa
1 changed files with 1 additions and 1 deletions

2
dup.rb
View File

@ -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