Reproduce: 1)Make dash your default shell(/bin/sh) 2)set EDITOR variable to nothing(EDITOR="") 3)run /usr/libexec/editor 4)it says something like: "EDITOR variable must be set" Try same thing with bash and it is ok. Problem appears for example in visudo.
Created attachment 284259 [details, diff] editor.patch Possible fix...
(In reply to comment #1) > Created attachment 284259 [details, diff] > editor.patch > > Possible fix... Indeed, &> isn't POSIX shell syntax. Štěpán, can you confirm that the patch fixes the problem?
Yes, I tested it and it looks ok. So I think that patch fix the problem. Someone else could approve it?
Fixed in editor-wrapper-4. Thank you for reporting the problem and for testing.