Show More
@@ -260,9 +260,11 b' def validateconfig(ui):' | |||||
260 | ) |
|
260 | ) | |
261 | ) |
|
261 | ) | |
262 | else: |
|
262 | else: | |
263 |
|
|
263 | command = procutil.shellsplit(method) | |
|
264 | command = command[0] if command else b'' | |||
|
265 | if not (command and procutil.findexe(command)): | |||
264 | raise error.Abort( |
|
266 | raise error.Abort( | |
265 |
_(b'%r specified as email transport, but not in PATH') % |
|
267 | _(b'%r specified as email transport, but not in PATH') % command | |
266 | ) |
|
268 | ) | |
267 |
|
269 | |||
268 |
|
270 |
General Comments 0
You need to be logged in to leave comments.
Login now