Use the default editor.
This commit is contained in:
parent
5a3a1be5a2
commit
7b102d25aa
2
dup.rb
2
dup.rb
@ -135,7 +135,7 @@ def action_create(container, file)
|
|||||||
|
|
||||||
File.open(file, "w") {|f| f.write(get_sample(container))}
|
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... ;-)
|
exit 1 # will never be reached because exec replaces this process. But just in case... ;-)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user