diff options
-rwxr-xr-x | bin/dispatch-conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 0940927fc..586b98759 100755 --- a/bin/dispatch-conf +++ b/bin/dispatch-conf @@ -204,6 +204,8 @@ class dispatch: show_new_diff = 1 continue elif c == 'e': + if not os.environ.has_key('EDITOR'): + os.environ['EDITOR']='nano' os.system(os.environ['EDITOR'] + ' ' + newconf) continue elif c == 'z': |